[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.309,2.310

Gregory Montoir cyx at users.sourceforge.net
Sun Sep 19 13:52:14 CEST 2004


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

Modified Files:
	gfx.cpp 
Log Message:
fix broken WizImage display

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.309
retrieving revision 2.310
diff -u -d -r2.309 -r2.310
--- gfx.cpp	19 Sep 2004 20:17:57 -0000	2.309
+++ gfx.cpp	19 Sep 2004 20:51:38 -0000	2.310
@@ -1497,7 +1497,7 @@
 				}
 			} else {
 				databit = code & 1;
-				code = (code >> 2) + 1;
+				code = (code >> 1) + 1;
 				if (databit) {
 					++dataPtr;
 					xoff -= code;
@@ -1527,7 +1527,7 @@
 				w -= code;
 			} else {
 				databit = code & 1;
-				code = (code >> 2) + 1;
+				code = (code >> 1) + 1;
 				if (databit) {
 dec_sub2:			w -= code;
 					if (w < 0) {





More information about the Scummvm-git-logs mailing list