[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.55,2.56

Max Horn fingolfin at users.sourceforge.net
Fri Apr 25 03:58:05 CEST 2003


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

Modified Files:
	gfx.cpp 
Log Message:
fixed stupid mistake (yeah yeah, being able to read old code, and use your brain properly, helps :-)

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.55
retrieving revision 2.56
diff -u -d -r2.55 -r2.56
--- gfx.cpp	25 Apr 2003 00:03:06 -0000	2.55
+++ gfx.cpp	25 Apr 2003 10:57:12 -0000	2.56
@@ -859,7 +859,7 @@
 		assert(numzbuf <= (int)ARRAYSIZE(zplane_list));
 	
 		if (_vm->_features & GF_OLD256) {
-			zplane_list[1] = smap_ptr + READ_LE_UINT16(smap_ptr);
+			zplane_list[1] = smap_ptr + READ_LE_UINT32(smap_ptr);
 			if (0 == READ_LE_UINT32(zplane_list[1]))
 				zplane_list[1] = 0;
 		} else if (_vm->_features & GF_SMALL_HEADER) {





More information about the Scummvm-git-logs mailing list