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:
1 parent
fedccd25b9
commit
3c70598aea
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user