mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
SWORD1: Remove redundant check.
We're doing assert() in the same function.
This commit is contained in:
parent
b83672070a
commit
e482fd8a1a
@ -327,13 +327,12 @@ Common::File *ResMan::resFile(uint32 id) {
|
||||
Clu *closeClu = _openCluStart;
|
||||
_openCluStart = _openCluStart->nextOpen;
|
||||
|
||||
if (closeClu) {
|
||||
if (closeClu->file)
|
||||
closeClu->file->close();
|
||||
delete closeClu->file;
|
||||
closeClu->file = NULL;
|
||||
closeClu->nextOpen = NULL;
|
||||
}
|
||||
|
||||
_openClus--;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user