Grow stacking gives a maximum of 5 seconds grow time

This commit is contained in:
Antonio Martinez 2025-09-23 20:44:02 -04:00
parent 220f8b035d
commit d0ef4cdfaf

View file

@ -15508,7 +15508,7 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
}
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);