[Scummvm-cvs-logs] CVS: scummvm/scumm verbs.cpp,1.110,1.111

Max Horn fingolfin at users.sourceforge.net
Fri Sep 24 14:51:04 CEST 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6955

Modified Files:
	verbs.cpp 
Log Message:
gdi.drawBitmap already performs clipping, no need to do it here

Index: verbs.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/verbs.cpp,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -d -r1.110 -r1.111
--- verbs.cpp	9 Sep 2004 07:32:03 -0000	1.110
+++ verbs.cpp	24 Sep 2004 21:49:52 -0000	1.111
@@ -488,8 +488,7 @@
 	}
 	for (i = 0; i < imgw; i++) {
 		tmp = xstrip + i;
-		if (tmp < gdi._numStrips)
-			gdi.drawBitmap(imptr, vs, tmp, ydiff, imgw * 8, imgh * 8, i, 1, Gdi::dbAllowMaskOr);
+		gdi.drawBitmap(imptr, vs, tmp, ydiff, imgw * 8, imgh * 8, i, 1, Gdi::dbAllowMaskOr);
 	}
 
 	vst = &_verbs[verb];





More information about the Scummvm-git-logs mailing list