[Scummvm-cvs-logs] CVS: scummvm/scumm boxes.cpp,1.55,1.56
Travis Howell
kirben at users.sourceforge.net
Sun Aug 10 17:49:17 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv11857/scumm
Modified Files:
boxes.cpp
Log Message:
Fix regression
Index: boxes.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/boxes.cpp,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- boxes.cpp 6 Aug 2003 12:04:27 -0000 1.55
+++ boxes.cpp 11 Aug 2003 00:48:32 -0000 1.56
@@ -289,8 +289,8 @@
// checking at all. All the problems so far have been cases where
// the value was exactly one more than what we consider the maximum.
// So it's very well possible that all of these are script errors.
- if ((_features & GF_OLD_BUNDLE)
- && (_gameId == GID_MONKEY_EGA || _gameId == GID_INDY3 || _gameId == GID_ZAK)) {
+ if ((_gameId == GID_MONKEY_EGA) || ((_features & GF_OLD_BUNDLE)
+ && (_gameId == GID_INDY3 || _gameId == GID_ZAK))) {
checkRange(ptr[0], 0, box, "Illegal box %d");
} else
checkRange(ptr[0] - 1, 0, box, "Illegal box %d");
More information about the Scummvm-git-logs
mailing list