mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Grow stacking gives a maximum of 5 seconds grow time
This commit is contained in:
parent
220f8b035d
commit
d0ef4cdfaf
1 changed files with 1 additions and 1 deletions
|
|
@ -15508,7 +15508,7 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
||||||
}
|
}
|
||||||
|
|
||||||
player->growshrinktimer = max(0, player->growshrinktimer);
|
player->growshrinktimer = max(0, player->growshrinktimer);
|
||||||
player->growshrinktimer += ((gametyperules & GTR_CLOSERPLAYERS) ? 8 : 12) * TICRATE;
|
player->growshrinktimer = max(player->growshrinktimer + 5*TICRATE, ((gametyperules & GTR_CLOSERPLAYERS) ? 8 : 12) * TICRATE);
|
||||||
|
|
||||||
S_StartSound(player->mo, sfx_kc5a);
|
S_StartSound(player->mo, sfx_kc5a);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue