aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Hesse2011-01-18 06:30:47 +0000
committerSven Hesse2011-01-18 06:30:47 +0000
commite73484b2599c3dd5013fa840160bb2a58fa84677 (patch)
tree7295687f19d800cc4fa460ec539e3bd72468930e
parentd509941eca5b7e49af654d2e95e1b10d3253c177 (diff)
downloadscummvm-rg350-e73484b2599c3dd5013fa840160bb2a58fa84677.tar.gz
scummvm-rg350-e73484b2599c3dd5013fa840160bb2a58fa84677.tar.bz2
scummvm-rg350-e73484b2599c3dd5013fa840160bb2a58fa84677.zip
GOB: Fix Urban Runner hotspot texts
Thanks to SylvainTV :) svn-id: r55286
-rw-r--r--engines/gob/resources.cpp10
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;