[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.40,2.41

Pawel Kolodziejski aquadran at users.sourceforge.net
Wed Apr 9 12:51:06 CEST 2003


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

Modified Files:
	gfx.cpp 
Log Message:
fix ega codec again

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.40
retrieving revision 2.41
diff -u -d -r2.40 -r2.41
--- gfx.cpp	9 Apr 2003 19:18:23 -0000	2.40
+++ gfx.cpp	9 Apr 2003 19:50:47 -0000	2.41
@@ -1046,7 +1046,7 @@
 		height = t_height;
 		dst = t_dst + x * 2;
 		do {
-			if (run == 0) {
+			if (--run == 0) {
 				data = *src++;
 				if (data & 0x80) {
 					run = data & 0x3f;





More information about the Scummvm-git-logs mailing list