diff --git a/src/filesrch.c b/src/filesrch.c index 5b41f4f22..68bc65ecf 100644 --- a/src/filesrch.c +++ b/src/filesrch.c @@ -665,7 +665,7 @@ boolean preparefilemenu(boolean samedepth) searchdir; - if (ext >= EXT_MD5) + if (ext >= EXT_LOADSTART) { size_t i; for (i = 0; i < numwadfiles; i++) diff --git a/src/filesrch.h b/src/filesrch.h index 1e05750bd..2a6657010 100644 --- a/src/filesrch.h +++ b/src/filesrch.h @@ -51,7 +51,7 @@ typedef enum EXT_TXT = EXT_START, EXT_CFG, EXT_MD5, - EXT_WAD = EXT_MD5, + EXT_WAD = EXT_LOADSTART, EXT_SOC, EXT_LUA, // allowed even if not HAVE_BLUA so that we can yell on load attempt NUM_EXT,