[Scummvm-cvs-logs] CVS: scummvm/scumm verbs.cpp,1.36,1.37

Max Horn fingolfin at users.sourceforge.net
Mon May 12 09:58:02 CEST 2003


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

Modified Files:
	verbs.cpp 
Log Message:
fix regression in MI1 (and possibly others)

Index: verbs.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/verbs.cpp,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- verbs.cpp	10 May 2003 21:49:59 -0000	1.36
+++ verbs.cpp	12 May 2003 16:57:04 -0000	1.37
@@ -270,12 +270,12 @@
 	for (i = 0; i < imgw; i++) {
 		tmp = xstrip + i;
 		if (tmp < gdi._numStrips)
-			gdi.drawBitmap(imptr, vs, tmp, ydiff, imgw << 3, imgh << 3, i, 1, Gdi::dbAllowMaskOr);
+			gdi.drawBitmap(imptr, vs, tmp, ydiff, imgw * 8, imgh * 8, i, 1, Gdi::dbAllowMaskOr);
 	}
 
 	vst = &_verbs[verb];
-	vst->right = vst->x + imgw << 3;
-	vst->bottom = vst->y + imgh << 3;
+	vst->right = vst->x + imgw * 8;
+	vst->bottom = vst->y + imgh * 8;
 	vst->oldleft = vst->x;
 	vst->oldright = vst->right;
 	vst->oldtop = vst->y;





More information about the Scummvm-git-logs mailing list