mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
P_SpawnPlayer: do not turn on director if another player spectates and you are alone
This commit is contained in:
parent
4c500748fb
commit
7de237dfd3
1 changed files with 2 additions and 2 deletions
|
|
@ -12655,12 +12655,12 @@ void P_SpawnPlayer(INT32 playernum)
|
||||||
camera[G_PartyPosition(playernum)].freecam = false;
|
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.
|
// If the first player enters the game, view them.
|
||||||
for (i = 0; i <= r_splitscreen; ++i)
|
for (i = 0; i <= r_splitscreen; ++i)
|
||||||
{
|
{
|
||||||
K_ToggleDirector(i, director);
|
K_ToggleDirector(i, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue