Skip to content

Commit

Permalink
Minor fix to resetting episode, expansion CVARs at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Oct 30, 2024
1 parent 7ba1ef5 commit 6caa6f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6caa6f4

Please sign in to comment.