mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-22 02:00:11 +00:00
K_DirectorSwitch: Don't let forced switches cause a G_ResetView update when directorinfo.active is false
This commit is contained in:
parent
5ee9b9d5b6
commit
28b3006efd
1 changed files with 5 additions and 5 deletions
|
|
@ -110,16 +110,16 @@ static boolean K_CanSwitchDirector(void)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!directorinfo.active)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static void K_DirectorSwitch(INT32 player, boolean force)
|
||||
{
|
||||
if (!directorinfo.active)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (P_IsDisplayPlayer(&players[player]))
|
||||
{
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue