Fix Director switching away immediately after spectating and entering freecam

This commit is contained in:
James R 2024-03-12 17:53:39 -07:00
parent 790d64015a
commit ab091c71f8

View file

@ -12151,8 +12151,11 @@ void P_SpawnPlayer(INT32 playernum)
// disabled when they enter the race, or when the level
// changes.
if (!demo.playback)
{
if (!p->spectator)
{
camera[G_PartyPosition(playernum)].freecam = false;
}
displayplayers[G_PartyPosition(playernum)] = playernum;
}