Commit 1c3fe3ce by Sal

Kill me

parent 094ca524
......@@ -1746,11 +1746,17 @@ fixed_t K_GetKartAccel(player_t *player)
UINT16 K_GetKartFlashing(player_t *player)
{
UINT16 tics = flashingtics;
if (G_BattleGametype())
tics *= 2;
tics += (flashingtics/8) * (player->kartspeed);
return tics;
UINT16 tics = flashingtics;
if (!player)
return tics;
if (G_BattleGametype())
tics *= 2;
tics += (flashingtics/8) * (player->kartspeed);
return tics;
}
fixed_t K_3dKartMovement(player_t *player, boolean onground, fixed_t forwardmove)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment