dont return lumpnumber within W_LumpExists
This commit is contained in:
parent
d1e28ff217
commit
d0c3e6f604
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue