P_SpawnPlayer: do not turn on director if another player spectates and you are alone

This commit is contained in:
James R 2023-11-15 18:55:57 -08:00
parent 4c500748fb
commit 7de237dfd3

View file

@ -12655,12 +12655,12 @@ void P_SpawnPlayer(INT32 playernum)
camera[G_PartyPosition(playernum)].freecam = false;
}
}
else if (pcount == 1)
else if (pcount == 1 && !p->spectator)
{
// If the first player enters the game, view them.
for (i = 0; i <= r_splitscreen; ++i)
{
K_ToggleDirector(i, director);
K_ToggleDirector(i, true);
}
}
}