mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-01 17:01:24 +00:00
Merge branch 'fix-spectator-ebrake' into 'master'
Don't show ebrake visuals for spectators Closes #355 See merge request KartKrew/Kart!822
This commit is contained in:
commit
e53412f509
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;
|
||||
}
|
||||
|
||||
K_KartEbrakeVisuals(player);
|
||||
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