[Scummvm-cvs-logs] CVS: scummvm/scumm boxes.cpp,1.45,1.46
Max Horn
fingolfin at users.sourceforge.net
Sun Jul 13 12:51:18 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv15562
Modified Files:
boxes.cpp
Log Message:
workaround for bug #770351
Index: boxes.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/boxes.cpp,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- boxes.cpp 12 Jul 2003 18:46:33 -0000 1.45
+++ boxes.cpp 13 Jul 2003 19:50:35 -0000 1.46
@@ -237,7 +237,8 @@
// 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) {
+ // The same happens in Indy3EGA (see bug #770351)
+ if (_gameId == GID_MONKEY_EGA || _gameId == GID_INDY3) {
if (box < 0 || box > ptr[0] - 1)
warning("Illegal box %d", box);
} else
More information about the Scummvm-git-logs
mailing list