[Scummvm-cvs-logs] CVS: scummvm/scumm charset.cpp,2.37,2.38

Max Horn fingolfin at users.sourceforge.net
Mon Jun 2 16:24:06 CEST 2003


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

Modified Files:
	charset.cpp 
Log Message:
cleanup

Index: charset.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/charset.cpp,v
retrieving revision 2.37
retrieving revision 2.38
diff -u -d -r2.37 -r2.38
--- charset.cpp	1 Jun 2003 14:30:24 -0000	2.37
+++ charset.cpp	2 Jun 2003 23:23:45 -0000	2.38
@@ -759,10 +759,7 @@
 		maskpos = 0;
 
 		for (x = 0; x < width; x++) {
-			int myMask = (0xFF << (8 - _bpp)) & 0xFF;
-			int myColor = (bits & myMask) >> (8 - _bpp);
 			color = (bits >> (8 - _bpp)) & 0xFF;
-			assert(color == myColor);
 			
 			if (color) {
 				if (useMask) {





More information about the Scummvm-git-logs mailing list