aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/actor.cpp7
1 files changed, 5 insertions, 2 deletions
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... <sigh>
+ if (_vm->_version >= 3)
+ setBox(walkdata.destbox);
+ else
+ setBox(walkdata.curbox);
} while (1);
moving |= MF_LAST_LEG;