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

Jonathan Gray khalek at users.sourceforge.net
Sat May 17 12:13:01 CEST 2003


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

Modified Files:
	boxes.cpp 
Log Message:
I thought it would be clear from the comments that this was needed for the atari st zak demo, which seems to still be the case

Index: boxes.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/boxes.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- boxes.cpp	17 May 2003 15:51:11 -0000	1.25
+++ boxes.cpp	17 May 2003 19:11:59 -0000	1.26
@@ -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)
+	if ((_gameId != GID_MONKEY_EGA) && (_gameId != GID_ZAK))
 		checkRange(ptr[0] - 1, 0, box, "Illegal box %d");
 
 	if (_features & GF_AFTER_V2)





More information about the Scummvm-git-logs mailing list