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
This commit is contained in:
Jonathan Gray 2003-05-17 19:11:59 +00:00
parent 93825ff948
commit d85abe1737

View file

@ -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)