diff options
author | Max Horn | 2003-07-13 20:27:28 +0000 |
---|---|---|
committer | Max Horn | 2003-07-13 20:27:28 +0000 |
commit | 59ac07dcd6db57e6a63739f78b09189759e9e921 (patch) | |
tree | 313b1a1f03d62b322760506b329d93fd200bfd98 /scumm | |
parent | 27a1d8ab7b20ae74aa36c560304c33f597faa6e9 (diff) | |
download | scummvm-rg350-59ac07dcd6db57e6a63739f78b09189759e9e921.tar.gz scummvm-rg350-59ac07dcd6db57e6a63739f78b09189759e9e921.tar.bz2 scummvm-rg350-59ac07dcd6db57e6a63739f78b09189759e9e921.zip |
workaround for bug #770093 (Zak256 Crash inside of Sphinx)
svn-id: r8995
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/scummvm.cpp | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index 58721e2a19..e149ecc0e0 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -1283,9 +1283,17 @@ void Scumm::startScene(int room, Actor * a, int objectNr) { error("Object %d stopped with active cutscene/override in exit", ss->number); _currentScript = 0xFF; } else if (ss->where == WIO_LOCAL) { - // HACK to make Indy3 Demo work - if (ss->cutsceneOverride != 0 && !(_gameId == GID_INDY3 && _roomResource == 3)) - error("Script %d stopped with active cutscene/override in exit", ss->number); + if (ss->cutsceneOverride != 0) { + if (_gameId == GID_ZAK256 && _roomResource == 15 && ss->number == 202) { + // HACK to make Zak256 work (see bug #770093) + warning("Script %d stopped with active cutscene/override in exit", ss->number); + } else if (_gameId == GID_INDY3 && _roomResource == 3) { + // HACK to make Indy3 Demo work + warning("Script %d stopped with active cutscene/override in exit", ss->number); + } else { + error("Script %d stopped with active cutscene/override in exit", ss->number); + } + } _currentScript = 0xFF; } } |