mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +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_DoSneaker(player, 2);
|
||||||
K_PlayBoostTaunt(player->mo);
|
K_PlayBoostTaunt(player->mo);
|
||||||
player->rocketsneakertimer -= 3*TICRATE;
|
if (player->rocketsneakertimer <= 3*TICRATE)
|
||||||
if (player->rocketsneakertimer < 1)
|
|
||||||
player->rocketsneakertimer = 1;
|
player->rocketsneakertimer = 1;
|
||||||
|
else
|
||||||
|
player->rocketsneakertimer -= 3*TICRATE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (player->itemamount == 0)
|
else if (player->itemamount == 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue