And somehow I replaced an instance of displayplayers on only one side of this conditional...

This commit is contained in:
James R 2020-06-06 22:28:40 -07:00
parent cbcbe9f15b
commit 7af0f92cc9

View file

@ -8217,8 +8217,8 @@ boolean P_SpectatorJoinGame(player_t *player)
player->playerstate = PST_REBORN;
//Reset away view
if (P_IsLocalPlayer(player) && g_localplayers[0] != consoleplayer)
g_localplayers[0] = consoleplayer;
if (P_IsLocalPlayer(player) && displayplayers[0] != consoleplayer)
displayplayers[0] = consoleplayer;
HU_AddChatText(va(M_GetText("\x82*%s entered the game."), player_names[player-players]), false);
return true; // no more player->mo, cannot continue.