[Scummvm-cvs-logs] CVS: scummvm object.cpp,1.77,1.78

Max Horn fingolfin at users.sourceforge.net
Tue Jul 16 07:10:21 CEST 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv32028

Modified Files:
	object.cpp 
Log Message:
fixed call to adjustXYToBeInBox

Index: object.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/object.cpp,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- object.cpp	15 Jul 2002 22:56:24 -0000	1.77
+++ object.cpp	16 Jul 2002 14:09:54 -0000	1.78
@@ -228,7 +228,7 @@
 		return 0xFF;
 
 	if (acta) {
-		AdjustBoxResult r = acta->adjustXYToBeInBox(_xPos, _yPos, 0);
+		AdjustBoxResult r = acta->adjustXYToBeInBox(_xPos, _yPos, -1);
 		_xPos = r.x;
 		_yPos = r.y;
 	}





More information about the Scummvm-git-logs mailing list