aboutsummaryrefslogtreecommitdiff
path: root/scumm/object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/object.cpp')
-rw-r--r--scumm/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index 47836fbb50..a47026188c 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -288,7 +288,7 @@ int Scumm::getObjActToObjActDist(int a, int b) {
if (y > x)
x = y;
- return x;
+ return (_features & GF_AFTER_V2) ? x / 8 : x;
}
int Scumm::findObject(int x, int y) {