aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-05-16 10:00:03 +0000
committerMax Horn2003-05-16 10:00:03 +0000
commit30d31f6d0354a571aa1e5f43d3a9978f0e149a44 (patch)
tree6cef3edf577518f9151aae1a0ecbded57b65daed
parent61fdee0b426b0a64674d8780f7bf1719604b21a7 (diff)
downloadscummvm-rg350-30d31f6d0354a571aa1e5f43d3a9978f0e149a44.tar.gz
scummvm-rg350-30d31f6d0354a571aa1e5f43d3a9978f0e149a44.tar.bz2
scummvm-rg350-30d31f6d0354a571aa1e5f43d3a9978f0e149a44.zip
print some useful info, too
svn-id: r7569
-rw-r--r--scumm/actor.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 005e69f5e8..771405131d 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -787,8 +787,7 @@ void Scumm::walkActors() {
for (i = 1; i < _numActors; i++) {
a = derefActor(i);
if (a->isInCurrentRoom())
- // FIXME: really V3, or should it maybe be GF_SMALL_HEADER
- if (_features & GF_AFTER_V3)
+ if (_features & GF_AFTER_V2 || _features & GF_AFTER_V3)
a->walkActorOld();
else
a->walkActor();
@@ -1233,7 +1232,7 @@ void Actor::startWalkActor(int destX, int destY, int dir) {
// Considering that abr was obtained by adjustXYToBeInBox which works on
// the boxes in the *current* room no in the room the actor actually is in.
// Occurs in Monkey Island 1 demo, after title name.
- warning("When is this ever triggered anyway?");
+ warning("When is this ever triggered anyway? (%d,%d) -> (%d,%d)", x, y, abr.x, abr.y);
x = abr.x;
y = abr.y;
if (dir != -1)