Skip to content

Commit

Permalink
Don't autoload SIGIL 2 if SIGIL isn't autoloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Nov 8, 2023
1 parent 6533b78 commit 3f80baf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/d_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1061,6 +1061,9 @@ static void D_AutoloadSigil2WAD(void)
{
char path[MAX_PATH];

if (!sigil)
return;

M_snprintf(path, sizeof(path), "%s" DIR_SEPARATOR_S "%s", wadfolder, "SIGIL2.wad");

if (W_MergeFile(path, true))
Expand Down

0 comments on commit 3f80baf

Please sign in to comment.