dont run anything director in dedi

we dont need to even init its stuff
This commit is contained in:
Alug committed 2025-03-28 17:01:51 +01:00
1 parent 256f4cf2a8
commit 014c06a797
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ static fixed_t ScaleFromMap(fixed_t n, fixed_t scale)
boolean K_DirectorIsAvailable(void)
{
if (splitscreen || (demo.playback && demo.title) || modeattacking)
if (splitscreen || dedicated || (demo.playback && demo.title) || modeattacking)
return false;
return ((gamestate == GS_LEVEL) && ((demo.playback && !camera[0].freecam) || (players[consoleplayer].spectator && (K_PlayersPlaying() > 1))));
}
+3 -1
View File
@@ -3134,7 +3134,9 @@ boolean P_SetupLevel(boolean fromnetsave, boolean reloadinggamestate)
{
P_InitCamera();
memset(localaiming, 0, sizeof(localaiming));
K_InitDirector();
if (!dedicated)
K_InitDirector();
}
// clear special respawning que