mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Hide E-Brake VFX and Servant Hand if the player is NO CONTEST
- Fixes E-Brake VFX being visible after a player FALLS OUT in a Sealed Star.
This commit is contained in:
parent
5475cc37d5
commit
e1142b569c
1 changed files with 3 additions and 1 deletions
|
|
@ -8387,7 +8387,9 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
||||||
player->tripwireState = TRIPSTATE_NONE;
|
player->tripwireState = TRIPSTATE_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (player->spectator == false)
|
// If the player is out of the game, these visuals may
|
||||||
|
// look really strange.
|
||||||
|
if (player->spectator == false && !(player->pflags & PF_NOCONTEST))
|
||||||
{
|
{
|
||||||
K_KartEbrakeVisuals(player);
|
K_KartEbrakeVisuals(player);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue