From a6d1c3e15123d8092108f92a5bd3a6c057588783 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 17 May 2003 15:51:11 +0000 Subject: no no, bad hack be gone :-) svn-id: r7609 --- scumm/boxes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3