Reduce grow item time to 8 seconds in Battle

This commit is contained in:
James R 2022-08-03 11:17:45 -07:00
parent 1ccf04b4f2
commit d2c14331b2

View file

@ -9957,7 +9957,8 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
player->mo->destscale = FixedMul(player->mo->destscale, SHRINK_SCALE);
}
player->growshrinktimer = itemtime+(4*TICRATE); // 12 seconds
// TODO: gametyperules
player->growshrinktimer = (gametype == GT_BATTLE ? 8 : 12) * TICRATE;
if (player->invincibilitytimer > 0)
{