aboutsummaryrefslogtreecommitdiff
path: root/scumm/boxes.cpp
diff options
context:
space:
mode:
authorTravis Howell2003-08-13 02:21:36 +0000
committerTravis Howell2003-08-13 02:21:36 +0000
commit603f8b8e3aa8128ffbc5c0cb32cd32b0105fedb5 (patch)
treea88617c3653c11bdb93d0ab4b49b77c33db88b32 /scumm/boxes.cpp
parent936db5deccf5ee6d92f3d9d6561685fab72701eb (diff)
downloadscummvm-rg350-603f8b8e3aa8128ffbc5c0cb32cd32b0105fedb5.tar.gz
scummvm-rg350-603f8b8e3aa8128ffbc5c0cb32cd32b0105fedb5.tar.bz2
scummvm-rg350-603f8b8e3aa8128ffbc5c0cb32cd32b0105fedb5.zip
Give pass its own id
svn-id: r9654
Diffstat (limited to 'scumm/boxes.cpp')
-rw-r--r--scumm/boxes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/boxes.cpp b/scumm/boxes.cpp
index 90c664d96a..40a5e7a2a7 100644
--- a/scumm/boxes.cpp
+++ b/scumm/boxes.cpp
@@ -289,7 +289,7 @@ 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 ((_gameId == GID_MONKEY_EGA) || ((_features & GF_OLD_BUNDLE)
+ if ((_gameId == GID_PASS) || ((_features & GF_OLD_BUNDLE)
&& (_gameId == GID_INDY3 || _gameId == GID_ZAK))) {
checkRange(ptr[0], 0, box, "Illegal box %d");
} else