[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,1.79,1.80

Max Horn fingolfin at users.sourceforge.net
Fri Dec 13 08:12:05 CET 2002


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

Modified Files:
	gfx.cpp 
Log Message:
nitpick

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -d -r1.79 -r1.80
--- gfx.cpp	13 Dec 2002 01:30:22 -0000	1.79
+++ gfx.cpp	13 Dec 2002 16:11:23 -0000	1.80
@@ -818,7 +818,7 @@
 	_BgNeedsRedraw = false;
 }
 
-const uint32 zplane_tags[] = {
+static const uint32 zplane_tags[] = {
 	MKID('ZP00'),
 	MKID('ZP01'),
 	MKID('ZP02'),
@@ -2428,7 +2428,7 @@
 		}
 
 		/* a is set a bit above */
-		if (camera._movingToActor && camera._cur.x >> 3 == a->x >> 3) {
+		if (camera._movingToActor && (camera._cur.x >> 3) == (a->x >> 3)) {
 			camera._movingToActor = false;
 		}
 





More information about the Scummvm-git-logs mailing list