Fix regression
svn-id: r9629
This commit is contained in:
parent
8f88764ef0
commit
117b7d0061
1 changed files with 2 additions and 2 deletions
|
@ -289,8 +289,8 @@ Box *Scumm::getBoxBaseAddr(int box) {
|
|||
// 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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue