From 3c70598aea71a51dd2abfe71f641e4e09ad11421 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 cfc25bbaa..5402e90a0 100644 --- a/src/w_wad.c +++ b/src/w_wad.c @@ -1431,7 +1431,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);