mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Resolve #167 - Rocket Sneakers now properly die if you rush their timer to 0.
This commit is contained in:
parent
d0a3447ad4
commit
6a55eb2f04
1 changed files with 3 additions and 2 deletions
|
|
@ -8026,9 +8026,10 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
|||
{
|
||||
K_DoSneaker(player, 2);
|
||||
K_PlayBoostTaunt(player->mo);
|
||||
player->rocketsneakertimer -= 3*TICRATE;
|
||||
if (player->rocketsneakertimer < 1)
|
||||
if (player->rocketsneakertimer <= 3*TICRATE)
|
||||
player->rocketsneakertimer = 1;
|
||||
else
|
||||
player->rocketsneakertimer -= 3*TICRATE;
|
||||
}
|
||||
}
|
||||
else if (player->itemamount == 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue