aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2012-10-14 20:54:55 +1100
committerPaul Gilbert2012-10-14 20:54:55 +1100
commit137c17e78c90b2c4fb3d5ef67d5a0986e13e5814 (patch)
tree6095803cfd2f19dcd9a5ddc20c197ff7aa151eb7
parent4e16b2e81d2f36eb76bba27dfbfff031e8e46813 (diff)
downloadscummvm-rg350-137c17e78c90b2c4fb3d5ef67d5a0986e13e5814.tar.gz
scummvm-rg350-137c17e78c90b2c4fb3d5ef67d5a0986e13e5814.tar.bz2
scummvm-rg350-137c17e78c90b2c4fb3d5ef67d5a0986e13e5814.zip
HOPKINS: Further bugfix to collision method
-rw-r--r--engines/hopkins/objects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/objects.cpp b/engines/hopkins/objects.cpp
index 3578df160a..68e9969d23 100644
--- a/engines/hopkins/objects.cpp
+++ b/engines/hopkins/objects.cpp
@@ -7891,7 +7891,7 @@ int ObjectsManager::colision(int xp, int yp) {
}
}
}
- } while (++field2 < _vm->_globals.Segment[idx].field4);
+ } while (++field2 <= _vm->_globals.Segment[idx].field4);
}
return -1;