[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.55,1.56

Max Horn fingolfin at users.sourceforge.net
Tue Jan 7 12:22:18 CET 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv17356

Modified Files:
	actor.cpp 
Log Message:
fixed regression caused by changes to akos code

Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- actor.cpp	7 Jan 2003 17:35:08 -0000	1.55
+++ actor.cpp	7 Jan 2003 20:21:39 -0000	1.56
@@ -257,7 +257,7 @@
 	int num;
 	bool shouldInterpolate;
 
-	dirType = _vm->akos_hasManyDirections(this);
+	dirType = (_vm->_features & GF_AFTER_V7) ? _vm->akos_hasManyDirections(this) : false;
 
 	from = toSimpleDir(dirType, facing);
 	dir = remapDirection(newDirection, is_walking);





More information about the Scummvm-git-logs mailing list