[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.91,1.92
Max Horn
fingolfin at users.sourceforge.net
Fri May 16 03:01:06 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv30325
Modified Files:
actor.cpp
Log Message:
print some useful info, too
Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- actor.cpp 16 May 2003 09:51:59 -0000 1.91
+++ actor.cpp 16 May 2003 10:00:03 -0000 1.92
@@ -787,8 +787,7 @@
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 @@
// 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)
More information about the Scummvm-git-logs
mailing list