aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hopkins/objects.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/hopkins/objects.cpp b/engines/hopkins/objects.cpp
index a09d4c5d70..62432c8e2f 100644
--- a/engines/hopkins/objects.cpp
+++ b/engines/hopkins/objects.cpp
@@ -4798,7 +4798,7 @@ void ObjectsManager::INILINK(const Common::String &file) {
_vm->_globals.Cache[v11].field4 = v10;
_vm->_globals.Cache[v11].field12 = 1;
- if (_vm->_globals.CACHE_BANQUE[1]) {
+ if (!_vm->_globals.CACHE_BANQUE[1]) {
_vm->_globals.Cache[v40].fieldA = 0;
} else {
v12 = v8;
@@ -4813,6 +4813,7 @@ void ObjectsManager::INILINK(const Common::String &file) {
if (!_vm->_globals.Cache[v40].field0 && !_vm->_globals.Cache[v40].field4
&& !_vm->_globals.Cache[v40].field2)
_vm->_globals.Cache[v40].fieldA = 0;
+
v36 += 5;
++v40;
} while (v40 <= 21);