From bd819181ae10b08925a81f7569db6ecc2cf00e45 Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 25 Feb 2026 22:38:36 +0100 Subject: [PATCH] lumpnumcache: W_LumpExists should return true or false whoops was oversight by me prob doesent really matter due to wraparound but its still incorrect --- src/w_wad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/w_wad.c b/src/w_wad.c index 87cd85459..1c6fa0087 100644 --- a/src/w_wad.c +++ b/src/w_wad.c @@ -1429,7 +1429,7 @@ UINT8 W_LumpExists(const char *name) // Check the lumpnumcache first. lumpnum_t cachenum = CheckLumpInCache(name); if (cachenum != LUMPERROR) - return cachenum; + return true; namelen = strlen(name); hash = W_HashLumpName(name);