diff options
Diffstat (limited to 'engines/scumm/verbs.cpp')
-rw-r--r-- | engines/scumm/verbs.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/scumm/verbs.cpp b/engines/scumm/verbs.cpp index d63c1f9381..fdb1b6d4b4 100644 --- a/engines/scumm/verbs.cpp +++ b/engines/scumm/verbs.cpp @@ -703,7 +703,7 @@ bool ScummEngine_v0::verbMoveToActor(int actor) { if (!a->_moving) { int dist = getDist(a->getRealPos().x, a->getRealPos().y, a2->getRealPos().x, a2->getRealPos().y); - if (dist > 5) + if (dist > 8) a->startWalkActor(a2->getRealPos().x, a2->getRealPos().y, 1); else return false; @@ -730,8 +730,7 @@ bool ScummEngine_v0::verbMove(int object, int objectIndex, bool invObject) { // Detect distance from target object int dist = getDist(a->getRealPos().x, a->getRealPos().y, x, y); - // FIXME: This should be changed once the walkbox problem is fixed - if (dist > 0x5) { + if (dist > 8) { a->startWalkActor(x, y, dir); VAR(6) = x; VAR(7) = y; |