[Scummvm-cvs-logs] CVS: scummvm actor.cpp,1.86,1.87
Max Horn
fingolfin at users.sourceforge.net
Sat Jul 13 04:57:04 CEST 2002
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv25609
Modified Files:
actor.cpp
Log Message:
fixed FIXME; this seems to be the correct way for walkActorOld to work
Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/actor.cpp,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- actor.cpp 8 Jul 2002 13:44:00 -0000 1.86
+++ actor.cpp 13 Jul 2002 11:56:53 -0000 1.87
@@ -1360,9 +1360,8 @@
if (_vm->gateLoc[2].x != 32000) {
if (calcMovementFactor(_vm->gateLoc[2].x, _vm->gateLoc[2].y)) {
- // FIXME - why is the first actor used here?!? Somebody please add a comment
- _vm->getFirstActor()->walkdata.point3x = _vm->gateLoc[3].x;
- _vm->getFirstActor()->walkdata.point3y = _vm->gateLoc[3].y;
+ walkdata.point3x = _vm->gateLoc[3].x;
+ walkdata.point3y = _vm->gateLoc[3].y;
return;
}
}
More information about the Scummvm-git-logs
mailing list