[Scummvm-cvs-logs] CVS: scummvm/scumm boxes.cpp,1.40,1.41

Max Horn fingolfin at users.sourceforge.net
Mon Jun 30 13:13:11 CEST 2003


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

Modified Files:
	boxes.cpp 
Log Message:
fix for #740244 and #755863. This appears to have been a long standing bug in the original engine?

Index: boxes.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/boxes.cpp,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- boxes.cpp	12 Jun 2003 06:53:05 -0000	1.40
+++ boxes.cpp	30 Jun 2003 20:12:34 -0000	1.41
@@ -82,6 +82,11 @@
 
 
 byte Scumm::getMaskFromBox(int box) {
+	// FIXME: see bug #740244 and #755863. This appears to have been a 
+	// long standing bug in the original engine?
+	if (_version <= 3 && box == 255)
+		return 1;
+
 	Box *ptr = getBoxBaseAddr(box);
 	if (!ptr)
 		return 0;





More information about the Scummvm-git-logs mailing list