diff options
author | Jonathan Gray | 2003-05-17 19:11:59 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-05-17 19:11:59 +0000 |
commit | d85abe173761fa502e3eafa3c5ea1b18c9aa92d1 (patch) | |
tree | d29b10f2f7a7abe45a500a714da3abd93a5c3dd2 | |
parent | 93825ff9481ca17ef6735de966578c8462ff76a5 (diff) | |
download | scummvm-rg350-d85abe173761fa502e3eafa3c5ea1b18c9aa92d1.tar.gz scummvm-rg350-d85abe173761fa502e3eafa3c5ea1b18c9aa92d1.tar.bz2 scummvm-rg350-d85abe173761fa502e3eafa3c5ea1b18c9aa92d1.zip |
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
svn-id: r7616
-rw-r--r-- | scumm/boxes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/boxes.cpp b/scumm/boxes.cpp index 98ec1b5288..24d9d625f7 100644 --- a/scumm/boxes.cpp +++ b/scumm/boxes.cpp @@ -235,7 +235,7 @@ 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) + if ((_gameId != GID_MONKEY_EGA) && (_gameId != GID_ZAK)) checkRange(ptr[0] - 1, 0, box, "Illegal box %d"); if (_features & GF_AFTER_V2) |