mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't show ebrake visuals for spectators
This commit is contained in:
parent
b42d52e80c
commit
84c571259f
1 changed files with 4 additions and 1 deletions
|
|
@ -7732,7 +7732,10 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
player->tripwireState = TRIPSTATE_NONE;
|
||||
}
|
||||
|
||||
if (player->spectator == false)
|
||||
{
|
||||
K_KartEbrakeVisuals(player);
|
||||
}
|
||||
|
||||
if (K_GetKartButtons(player) & BT_BRAKE &&
|
||||
P_IsObjectOnGround(player->mo) &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue