Skip to content
Snippets Groups Projects
Commit 30c5fd9c authored by Luna's avatar Luna
Browse files

Fix g_setdisplayer compile warning

parent cfaf49ab
No related branches found
No related tags found
No related merge requests found
...@@ -5694,7 +5694,7 @@ void G_SetDisplayPlayer(player_t *player, INT32 displayNumber, boolean setAllDis ...@@ -5694,7 +5694,7 @@ void G_SetDisplayPlayer(player_t *player, INT32 displayNumber, boolean setAllDis
else else
{ {
// the player has to exist or you just get a bleeding display // the player has to exist or you just get a bleeding display
if (playeringame[displayNumber] || players[displayplayer].spectator && player == &players[displayplayer]) if (playeringame[displayNumber] || (players[displayplayer].spectator && player == &players[displayplayer]))
{ {
// switch the display number locally // switch the display number locally
if (P_IsLocalPlayer(player) && displayplayer == consoleplayer) if (P_IsLocalPlayer(player) && displayplayer == consoleplayer)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment