aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorFilippos Karapetis2010-08-05 20:21:28 +0000
committerFilippos Karapetis2010-08-05 20:21:28 +0000
commit0f27a860491ded3631db18a954dd4b46677c4965 (patch)
treed2159bdcc5e3e684fad9ae2f4d607818f7979b7d /engines/sci/engine
parente36abee963c2af73981db0dea42eb39d504a7f0c (diff)
downloadscummvm-rg350-0f27a860491ded3631db18a954dd4b46677c4965.tar.gz
scummvm-rg350-0f27a860491ded3631db18a954dd4b46677c4965.tar.bz2
scummvm-rg350-0f27a860491ded3631db18a954dd4b46677c4965.zip
SCI: Fixed script bug #3039656 - "CASTLEBRAIN: Crashes in robot room"
svn-id: r51763
Diffstat (limited to 'engines/sci/engine')
-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 2349827f27..0753a0794c 100644
--- a/engines/sci/engine/workarounds.cpp
+++ b/engines/sci/engine/workarounds.cpp
@@ -66,6 +66,7 @@ const SciWorkaroundEntry opcodeOrWorkarounds[] = {
// gameID, room,script,lvl, object-name, method-name, call,index, workaround
const SciWorkaroundEntry uninitializedReadWorkarounds[] = {
+ { GID_CASTLEBRAIN, 280, 280, 0, "programmer", "dispatchEvent", -1, 0, { WORKAROUND_FAKE, 0xf } }, // pressing 'q' on the computer screen in the robot room, and closing the help dialog that pops up (bug #3039656). Moves the cursor to the view with the ID returned (in this case, the robot hand)
{ GID_CNICK_KQ, 200, 0, 1, "Character", "<noname446>", -1, 504, { WORKAROUND_FAKE, 0 } }, // checkers, like in hoyle 3
{ GID_CNICK_KQ, 200, 0, 1, "Character", "<noname446>", -1, 505, { WORKAROUND_FAKE, 0 } }, // checkers, like in hoyle 3
{ GID_CNICK_KQ, -1, 700, 0, "gcWindow", "<noname183>", -1, -1, { WORKAROUND_FAKE, 0 } }, // when entering control menu, like in hoyle 3