Skip to content

Commit

Permalink
Fix when loading BTSX_ExB.WAD by itself from launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Feb 8, 2025
1 parent 049fae0 commit 0f4b77a
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 @@ -1548,7 +1548,7 @@ static int D_OpenWADLauncher(void)
if (!M_CheckParm("-nodeh") && !M_CheckParm("-nobex"))
LoadDEHFile(file);

if (W_GetNumLumps("M_DOOM") == 2)
if (W_GetNumLumps("M_DOOM") == 2 && !BTSX)
{
if (D_IsDOOM1IWAD(fullpath) && W_GetNumLumps("E1M1") == 1)
{
Expand Down

0 comments on commit 0f4b77a

Please sign in to comment.