diff --git a/src/filesrch.c b/src/filesrch.c index 5b41f4f22f3ee39716f0e5aea3f9efc554095d29..68bc65ecf1506e0e0f695987cd92c069a62bd897 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 1e05750bd66b8b9d14ede4593e5d484d85a86e8d..2a66570104d44b3d3cf0a230b2e93cb2ef8fe545 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,