[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.276,2.277

Jonathan Gray khalek at users.sourceforge.net
Fri Jun 25 19:46:02 CEST 2004


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

Modified Files:
	gfx.cpp 
Log Message:
look for the newer BMAP blocks from later humongous games if we can't find an SMAP block

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.276
retrieving revision 2.277
diff -u -d -r2.276 -r2.277
--- gfx.cpp	23 Jun 2004 01:47:34 -0000	2.276
+++ gfx.cpp	26 Jun 2004 02:45:17 -0000	2.277
@@ -938,6 +938,10 @@
 	else
 		smap_ptr = _vm->findResource(MKID('SMAP'), ptr);
 
+	// newer Humongous titles use this
+	if (smap_ptr == NULL)
+		smap_ptr = _vm->findResource(MKID('BMAP'), ptr);
+
 	assert(smap_ptr);
 
 	zplane_list[0] = smap_ptr;





More information about the Scummvm-git-logs mailing list