Skip to content

Commit

Permalink
Minor tweak to prep for BTSX E3
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Oct 21, 2023
1 parent d62cf5d commit 8b585c8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/d_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1080,6 +1080,17 @@ static bool D_AutoloadOtherBTSXWAD(void)
pwadfile = M_StringDuplicate("btsx_e2a.wad");
return W_MergeFile(path, true);
}
else if (BTSXE3A && !BTSXE3B)
{
M_snprintf(path, sizeof(path), "%s" DIR_SEPARATOR_S "%s", wadfolder, "btsx_e3b.wad");
return W_MergeFile(path, true);
}
else if (!BTSXE3A && BTSXE3B)
{
M_snprintf(path, sizeof(path), "%s" DIR_SEPARATOR_S "%s", wadfolder, "btsx_e3a.wad");
pwadfile = M_StringDuplicate("btsx_e3a.wad");
return W_MergeFile(path, true);
}

return false;
}
Expand Down

0 comments on commit 8b585c8

Please sign in to comment.