[Scummvm-cvs-logs] CVS: scummvm/scumm boxes.cpp,1.24,1.25

Max Horn fingolfin at users.sourceforge.net
Sat May 17 08:52:06 CEST 2003


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

Modified Files:
	boxes.cpp 
Log Message:
no no, bad hack be gone :-)

Index: boxes.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/boxes.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- boxes.cpp	16 May 2003 00:07:47 -0000	1.24
+++ boxes.cpp	17 May 2003 15:51:11 -0000	1.25
@@ -235,7 +235,7 @@
 	// we shouldn't subtract 1 from ptr[0] when performing the check?
 	// this also seems to be incorrect for atari st demo of zak
 	// and assumingly other v2 games
-	if ((_gameId != GID_MONKEY_EGA) && !(_features & GF_AFTER_V2))
+	if (_gameId != GID_MONKEY_EGA)
 		checkRange(ptr[0] - 1, 0, box, "Illegal box %d");
 
 	if (_features & GF_AFTER_V2)





More information about the Scummvm-git-logs mailing list