mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Kill me
This commit is contained in:
parent
3d84c7c6c5
commit
b5f582ed5a
1 changed files with 11 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue