lumpnumcache: W_LumpExists should return true or false

whoops was oversight by me
prob doesent really matter due to wraparound but its still incorrect
This commit is contained in:
alufolie91 committed 2026-02-25 22:38:46 +01:00
1 parent fedccd25b9
commit 3c70598aea
1 file changed
+1 -1
+1 -1
View File
@@ -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);