completely disable director in splitscreen
will eventually get to splitscreen support lul
This commit is contained in:
1 parent
2398e60e89
commit
5bdf8698bd
2 files changed
+7
-2
No files matched your search
+6
-1
@@ -49,7 +49,7 @@ static fixed_t ScaleFromMap(fixed_t n, fixed_t scale)
|
||||
|
||||
static boolean K_DirectorIsEnabled(void)
|
||||
{
|
||||
return cv_director.value && (gamestate == GS_LEVEL && (!playeringame[consoleplayer] || players[consoleplayer].spectator || demo.playback));
|
||||
return cv_director.value && (gamestate == GS_LEVEL && (!playeringame[consoleplayer] || players[consoleplayer].spectator || demo.playback)) && !splitscreen;
|
||||
}
|
||||
|
||||
void K_InitDirector(void)
|
||||
@@ -188,6 +188,11 @@ static boolean K_CanSwitchDirector(void)
|
||||
|
||||
static void K_DirectorSwitch(INT32 player, boolean force)
|
||||
{
|
||||
if (!K_DirectorIsEnabled())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (P_IsDisplayPlayer(&players[player]))
|
||||
{
|
||||
return;
|
||||
|
||||
+1
-1
@@ -662,7 +662,7 @@ static void ST_overlayDrawer(void)
|
||||
// Countdown timer for Race Mode
|
||||
// ...moved to k_kart.c so we can take advantage of the LAPS_Y value
|
||||
|
||||
if (demo.playback || !P_IsLocalPlayer(stplyr))
|
||||
if ((demo.playback || !P_IsLocalPlayer(stplyr)) && !splitscreen)
|
||||
{
|
||||
char directortext[20] = {0};
|
||||
|
||||
|
||||
Reference in new issue
Block a user