From 4afcd1747c4c86afe0d35b6456476a57122d5743 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 6 Dec 2003 16:12:14 +0000 Subject: potential fix for bug #830106 (ugly) svn-id: r11525 --- scumm/actor.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'scumm') diff --git a/scumm/actor.cpp b/scumm/actor.cpp index b1763e523b..60a3ff0bc6 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -1544,8 +1544,11 @@ void Actor::walkActorOld() { // FIXME: Fingolfin changed the destbox to curbox, matching walkActor. // Motivation for this was comparision with some MI EGA disasm... // However, that caused a regression in Indy3 (bug #809547). - setBox(walkdata.destbox); -// setBox(walkdata.curbox); + // On the other hand, curbox is needed to fix bug #830106... + if (_vm->_version >= 3) + setBox(walkdata.destbox); + else + setBox(walkdata.curbox); } while (1); moving |= MF_LAST_LEG; -- cgit v1.2.3