This commit is contained in:
Sally Cochenour 2019-02-06 01:31:42 -05:00
parent 094ca5241a
commit 1c3fe3ce83
1 changed files with 11 additions and 5 deletions

View File

@ -1747,9 +1747,15 @@ fixed_t K_GetKartAccel(player_t *player)
UINT16 K_GetKartFlashing(player_t *player)
{
UINT16 tics = flashingtics;
if (!player)
return tics;
if (G_BattleGametype())
tics *= 2;
tics += (flashingtics/8) * (player->kartspeed);
return tics;
}