mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2024-09-15 15:03:11 +00:00
Fix check
This commit is contained in:
parent
a712b63633
commit
b247470cb7
@ -176,7 +176,7 @@ int soundEffectsCacheFileOpen(const char* fname, int mode, ...)
|
||||
|
||||
void* data;
|
||||
CacheEntry* cacheHandle;
|
||||
if (cacheLock(gSoundEffectsCache, tag, &data, &cacheHandle) == -1) {
|
||||
if (!cacheLock(gSoundEffectsCache, tag, &data, &cacheHandle)) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user