From a59dc43cfd6a1fd54bc7549400e05a558b897b6e Mon Sep 17 00:00:00 2001
From: toasterbabe <rollerorbital@gmail.com>
Date: Sat, 29 Apr 2017 16:40:07 +0100
Subject: [PATCH] Appropriate rename. (I would have done more in this commit,
 but I need to merge deez nux.)

---
 src/filesrch.c | 2 +-
 src/filesrch.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/filesrch.c b/src/filesrch.c
index 5b41f4f22f..68bc65ecf1 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 1e05750bd6..2a66570104 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,
-- 
GitLab