dont return lumpnumber within W_LumpExists

This commit is contained in:
Alug 2026-02-26 19:29:33 +01:00
parent d1e28ff217
commit d0c3e6f604

View file

@ -1725,7 +1725,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, namelen);