mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Update positiondelay during hitlag
This commit is contained in:
parent
0d8ada50bf
commit
9c3bcd44c7
1 changed files with 3 additions and 3 deletions
|
|
@ -7152,6 +7152,9 @@ void K_KartPlayerHUDUpdate(player_t *player)
|
|||
if (player->karthud[khud_trickcool])
|
||||
player->karthud[khud_trickcool]--;
|
||||
|
||||
if (player->positiondelay)
|
||||
player->positiondelay--;
|
||||
|
||||
if (!(player->pflags & PF_FAULT))
|
||||
player->karthud[khud_fault] = 0;
|
||||
else if (player->karthud[khud_fault] > 0 && player->karthud[khud_fault] <= 2*TICRATE)
|
||||
|
|
@ -10080,9 +10083,6 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
|||
}
|
||||
}
|
||||
|
||||
if (player->positiondelay)
|
||||
player->positiondelay--;
|
||||
|
||||
// Prevent ring misfire
|
||||
if (!(cmd->buttons & BT_ATTACK))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue