diff options
author | Max Horn | 2003-07-13 19:50:35 +0000 |
---|---|---|
committer | Max Horn | 2003-07-13 19:50:35 +0000 |
commit | a52a80d4f50f44ecfa11068700cfc647b1eaeae4 (patch) | |
tree | b147fac4540b4a8d5dc201d0f775d2d1592561fd /scumm | |
parent | 726718a60e944ef380fc02e9c490f81b17dc8830 (diff) | |
download | scummvm-rg350-a52a80d4f50f44ecfa11068700cfc647b1eaeae4.tar.gz scummvm-rg350-a52a80d4f50f44ecfa11068700cfc647b1eaeae4.tar.bz2 scummvm-rg350-a52a80d4f50f44ecfa11068700cfc647b1eaeae4.zip |
workaround for bug #770351
svn-id: r8993
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/boxes.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/boxes.cpp b/scumm/boxes.cpp index 6e430b9d85..212fcaa965 100644 --- a/scumm/boxes.cpp +++ b/scumm/boxes.cpp @@ -237,7 +237,8 @@ Box *Scumm::getBoxBaseAddr(int box) { // 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 |