From 8a305d3c797fe0b9af8fcde38f920095103a327a Mon Sep 17 00:00:00 2001 From: Alug Date: Fri, 24 Oct 2025 03:47:50 +0200 Subject: [PATCH] move those to D_ClearState --- src/d_main.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/d_main.c b/src/d_main.c index 992fc59db..d4cef24c3 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -979,6 +979,8 @@ void D_ClearState(void) { INT32 i; + demo.title = false; + // okay, stop now // (otherwise the game still thinks we're playing!) CURLAbortFile(); @@ -1034,6 +1036,9 @@ void D_ClearState(void) wipegamestate = GS_NULL; M_ClearMenus(true); + + // map palettes affect this + D_ResetDeviceLED(); } // @@ -1041,12 +1046,9 @@ void D_ClearState(void) // void D_StartTitle(void) { - demo.title = false; D_ClearState(); - multiplayer = false; // reset manually - netgame = false; // title menu shouldnt be a netgame lmao + multiplayer = netgame = false; // title menu shouldnt be a netgame or multiplayer lmao F_StartTitleScreen(); - D_ResetDeviceLED(); } //