[Scummvm-cvs-logs] CVS: scummvm actor.cpp,1.85,1.86

Max Horn fingolfin at users.sourceforge.net
Mon Jul 8 06:45:01 CEST 2002


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

Modified Files:
	actor.cpp 
Log Message:
fixed my bogus QNX fix :-)

Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/actor.cpp,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- actor.cpp	8 Jul 2002 13:33:10 -0000	1.85
+++ actor.cpp	8 Jul 2002 13:44:00 -0000	1.86
@@ -147,7 +147,7 @@
 		YXFactor = 0;
 	}
 
-	if ((uint) abs((double)(XYFactor >> 16)) > speedx) {
+	if ((uint) abs((int)(XYFactor >> 16)) > speedx) {
 		XYFactor = speedx << 16;
 		if (diffX < 0)
 			XYFactor = -XYFactor;





More information about the Scummvm-git-logs mailing list