diff --git a/src/d_iwad.c b/src/d_iwad.c index 040aee3b..cd1529a6 100644 --- a/src/d_iwad.c +++ b/src/d_iwad.c @@ -43,6 +43,7 @@ static const iwad_t iwads[] = { {"freedoom1.wad", doom, retail, "Freedoom: Phase 1" }, {"freedm.wad", doom2, commercial, "FreeDM" }, {"chex.wad", pack_chex, retail, "Chex Quest" }, + {"chex3v.wad", pack_chex, retail, "Chex Quest 3: Vanilla Edition" }, {"hacx.wad", pack_hacx, commercial, "HACX: Twitch n' Kill" }, {"rekkrsa.wad", pack_rekkr, retail, "REKKR" }, {"rekkrsl.wad", pack_rekkr, retail, "REKKR: Sunken Land" }, diff --git a/src/d_main.c b/src/d_main.c index 988bbf30..36470e9d 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -1873,6 +1873,21 @@ void D_DoomMain(void) IdentifyVersion(); + //! + // @category mod + // + // Disable auto-loading of extars.wad file. + // + + if (gamemission < pack_chex && !M_ParmExists("-noextras")) + { + char *path = D_FindWADByName("extras.wad"); + if (path) + { + D_AddFile(path); + } + } + // [FG] emulate a specific version of Doom InitGameVersion(); diff --git a/src/params.h b/src/params.h index 004c49c8..1d911a61 100644 --- a/src/params.h +++ b/src/params.h @@ -44,6 +44,7 @@ static const char *params[] = { "-bsp", "-force_old_zdoom_nodes", "-noautoload", +"-noextras", "-nocheats", "-nodeh", "-nomapinfo",