aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2010-07-30 05:31:20 +0000
committerFilippos Karapetis2010-07-30 05:31:20 +0000
commitd4aa4bc4d49e01d2e66cace53d3194a9d51a4b91 (patch)
tree4d9667a7ac791718b5ff0ea8035ccd0e5aec2a5a
parentffe7dcaa6b24efe7ee33483f0427c5094898656a (diff)
downloadscummvm-rg350-d4aa4bc4d49e01d2e66cace53d3194a9d51a4b91.tar.gz
scummvm-rg350-d4aa4bc4d49e01d2e66cace53d3194a9d51a4b91.tar.bz2
scummvm-rg350-d4aa4bc4d49e01d2e66cace53d3194a9d51a4b91.zip
SCI: Fixed script bug #3036942 - "KQ4SCI demo: Menu crash"
svn-id: r51496
-rw-r--r--engines/sci/engine/workarounds.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp
index 88e5aeda69..076ddea63b 100644
--- a/engines/sci/engine/workarounds.cpp
+++ b/engines/sci/engine/workarounds.cpp
@@ -161,6 +161,7 @@ const SciWorkaroundEntry kDisposeScript_workarounds[] = {
const SciWorkaroundEntry kDoSoundFade_workarounds[] = {
{ GID_CAMELOT, -1, 989, 0, "rmMusic", "fade", -1, 0, { WORKAROUND_IGNORE, 0 } }, // gets called frequently with a NULL reference (i.e. 0:0) - bug #3035149
{ GID_KQ1, -1, 989, 0, "gameSound", "fade", -1, 0, { WORKAROUND_IGNORE, 0 } }, // gets called in several scenes (e.g. graham cracker) with 0:0
+ { GID_KQ4, -1, 989, 0, "mySound", "", -1, 0, { WORKAROUND_IGNORE, 0 } }, // gets called in the demo when trying to open the non-existent menu with 0:0 - bug #3036942
{ GID_KQ6, 105, 989, 0, "globalSound", "fade", -1, 0, { WORKAROUND_STILLCALL, 0 } }, // floppy: during intro, parameter 4 is an object
{ GID_KQ6, 460, 989, 0, "globalSound2", "fade", -1, 0, { WORKAROUND_STILLCALL, 0 } }, // after pulling the black widow's web on the isle of wonder, parameter 4 is an object - bug #3034567
SCI_WORKAROUNDENTRY_TERMINATOR