diff options
-rw-r--r-- | object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/object.cpp b/object.cpp index 0943c134db..628d14b3d9 100644 --- a/object.cpp +++ b/object.cpp @@ -228,7 +228,7 @@ int Scumm::getObjActToObjActDist(int a, int b) return 0xFF; if (acta) { - AdjustBoxResult r = acta->adjustXYToBeInBox(_xPos, _yPos, 0); + AdjustBoxResult r = acta->adjustXYToBeInBox(_xPos, _yPos, -1); _xPos = r.x; _yPos = r.y; } |