aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJonathan Gray2003-08-11 02:31:03 +0000
committerJonathan Gray2003-08-11 02:31:03 +0000
commit957185a62e5ccfdd7013b99f3baffccf01fda3b6 (patch)
tree9f2ba5339d316ae3cf2e686ca5fbe788b2e330d8 /scumm
parent02d8fa584d831533c02b961f6bd08ead233901a7 (diff)
downloadscummvm-rg350-957185a62e5ccfdd7013b99f3baffccf01fda3b6.tar.gz
scummvm-rg350-957185a62e5ccfdd7013b99f3baffccf01fda3b6.tar.bz2
scummvm-rg350-957185a62e5ccfdd7013b99f3baffccf01fda3b6.zip
this fixme doesn't apply to old bundle games using GID_INDY3 target
svn-id: r9631
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp
index 7449391a8a..955da3f7e6 100644
--- a/scumm/script.cpp
+++ b/scumm/script.cpp
@@ -762,7 +762,7 @@ void Scumm::runExitScript() {
// FIXME: the exit script of room 7 in indy3 only seems to have a size
// and tag not actual data not even a 00 (stop code). Maybe we should
// be limiting ourselves to strictly reading the size from the header?
- if (_gameId == GID_INDY3) {
+ if (_gameId == GID_INDY3 && !(_features & GF_OLD_BUNDLE)) {
byte *roomptr = getResourceAddress(rtRoom, _roomResource);
const byte *excd = findResourceData(MKID('EXCD'), roomptr) - _resourceHeaderSize;
if (!excd || (getResourceDataSize(excd) < 1)) {