mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Reduce grow item time to 8 seconds in Battle
This commit is contained in:
parent
1ccf04b4f2
commit
d2c14331b2
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue