mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-03-22 02:41:56 +00:00
Kill me
This commit is contained in:
parent
094ca5241a
commit
1c3fe3ce83
1 changed files with 11 additions and 5 deletions
16
src/k_kart.c
16
src/k_kart.c
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue