diff options
-rw-r--r-- | engines/gob/resources.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/gob/resources.cpp b/engines/gob/resources.cpp index 56941aa4c1..0c838ca246 100644 --- a/engines/gob/resources.cpp +++ b/engines/gob/resources.cpp @@ -172,12 +172,12 @@ bool Resources::load(const Common::String &fileName) { if (!hasTOTRes && !hasEXTRes) return false; - if (hasTOTRes) { - if (!loadTOTTextTable(_fileBase)) { - unload(); - return false; - } + if (!loadTOTTextTable(_fileBase)) { + unload(); + return false; + } + if (hasTOTRes) { if (!loadIMFile()) { unload(); return false; |