diff options
author | Filippos Karapetis | 2010-07-27 10:00:17 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-07-27 10:00:17 +0000 |
commit | 14c059100c1505d2aedcea781c07756c9b5bcf30 (patch) | |
tree | e658cf6bbcadb26367cd1f997f516fb478a4f69f /engines/sci/engine/workarounds.cpp | |
parent | 6ff286c1f40fea7b7db92b44f45a8f3b31d53dc3 (diff) | |
download | scummvm-rg350-14c059100c1505d2aedcea781c07756c9b5bcf30.tar.gz scummvm-rg350-14c059100c1505d2aedcea781c07756c9b5bcf30.tar.bz2 scummvm-rg350-14c059100c1505d2aedcea781c07756c9b5bcf30.zip |
SCI: Fixed script bug #3034610 - "KQ6CD: Crash in endgame (short path)", and removed a relevant TODO
svn-id: r51356
Diffstat (limited to 'engines/sci/engine/workarounds.cpp')
-rw-r--r-- | engines/sci/engine/workarounds.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp index d58c4754fd..b79fd9b114 100644 --- a/engines/sci/engine/workarounds.cpp +++ b/engines/sci/engine/workarounds.cpp @@ -142,6 +142,12 @@ const SciWorkaroundEntry kDoSoundFade_workarounds[] = { }; // gameID, room,script,lvl, object-name, method-name, call,index, workaround +const SciWorkaroundEntry kGetAngle_workarounds[] = { + { GID_KQ6, -1, 752, 0, "throwDazzle", "changeState", -1, 0, { WORKAROUND_STILLCALL, 0 } }, // after the Genie is exposed in the Palace (short and long ending), it starts shooting lightning bolts around. An extra 5th parameter is passed. + SCI_WORKAROUNDENTRY_TERMINATOR +}; + +// gameID, room,script,lvl, object-name, method-name, call,index, workaround const SciWorkaroundEntry kGraphDrawLine_workarounds[] = { { GID_ISLANDBRAIN, 300, 300, 0, "dudeViewer", "show", -1, 0, { WORKAROUND_STILLCALL, 0 } }, // when looking at the gene explanation chart, gets called with 1 extra parameter { GID_SQ1, 43, 43, 0, "someoneDied", "changeState", -1, 0, { WORKAROUND_STILLCALL, 0 } }, // when ordering beer, gets called with 1 extra parameter |