aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-05-17 15:51:11 +0000
committerMax Horn2003-05-17 15:51:11 +0000
commita6d1c3e15123d8092108f92a5bd3a6c057588783 (patch)
treec58a1a94e6c260c0ab96020ee6bfc756d63bb4a5
parentd157b488760d3f47dba99732ae63e2604ae0d03d (diff)
downloadscummvm-rg350-a6d1c3e15123d8092108f92a5bd3a6c057588783.tar.gz
scummvm-rg350-a6d1c3e15123d8092108f92a5bd3a6c057588783.tar.bz2
scummvm-rg350-a6d1c3e15123d8092108f92a5bd3a6c057588783.zip
no no, bad hack be gone :-)
svn-id: r7609
-rw-r--r--scumm/boxes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/boxes.cpp b/scumm/boxes.cpp
index d56118a5d8..98ec1b5288 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) && !(_features & GF_AFTER_V2))
+ if (_gameId != GID_MONKEY_EGA)
checkRange(ptr[0] - 1, 0, box, "Illegal box %d");
if (_features & GF_AFTER_V2)