From 6caa6f429e849690299b0f9f9417f6026c0901ee Mon Sep 17 00:00:00 2001 From: Brad Harding Date: Wed, 30 Oct 2024 16:18:28 +1100 Subject: [PATCH] Minor fix to resetting `episode`, `expansion` CVARs at startup --- src/d_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_main.c b/src/d_main.c index d65619bcb..a0a9cdace 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -2847,7 +2847,7 @@ static void D_DoomMainSetup(void) else { #if defined(_WIN32) - if (*wad && *previouswad && !M_StringCompare(wad, previouswad)) + if (wad && previouswad && !M_StringCompare(wad, previouswad)) { EpiDef.laston = episode = episode_default; ExpDef.laston = expansion = expansion_default;