[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.184,2.185

Bertrand Augereau tramboi at users.sourceforge.net
Wed Aug 13 16:04:42 CEST 2003


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

Modified Files:
	gfx.cpp 
Log Message:
Explicitly stated a bit masking to please VC.NET2003 runtime small types conversion checks.


Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.184
retrieving revision 2.185
diff -u -d -r2.184 -r2.185
--- gfx.cpp	13 Aug 2003 02:21:36 -0000	2.184
+++ gfx.cpp	13 Aug 2003 22:40:57 -0000	2.185
@@ -1767,7 +1767,7 @@
 				cl -= 3;
 				bits >>= 3;
 				if (incm) {
-					color += incm;
+					color = (byte)((color+incm)&0xFF);
 				} else {
 					FILL_BITS;
 					reps = bits & 0xFF;





More information about the Scummvm-git-logs mailing list