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:
James R. 2023-09-11 02:57:01 -07:00
parent 5475cc37d5
commit e1142b569c

View file

@ -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);