aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/workarounds.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-24 20:36:36 +0000
committerMartin Kiewitz2010-07-24 20:36:36 +0000
commit50b163a106fba1dea763030727765f4f3fe311bb (patch)
treefdf034af226710b6c09a7c7c8f879295d2a0baf9 /engines/sci/engine/workarounds.cpp
parentb0af2dc95b4125c9c7f4ff6d6246667c812b79f4 (diff)
downloadscummvm-rg350-50b163a106fba1dea763030727765f4f3fe311bb.tar.gz
scummvm-rg350-50b163a106fba1dea763030727765f4f3fe311bb.tar.bz2
scummvm-rg350-50b163a106fba1dea763030727765f4f3fe311bb.zip
SCI: adding workaround for castle of dr. brain
room 420, alien card game svn-id: r51257
Diffstat (limited to 'engines/sci/engine/workarounds.cpp')
-rw-r--r--engines/sci/engine/workarounds.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp
index b107373702..8ce2b0e72c 100644
--- a/engines/sci/engine/workarounds.cpp
+++ b/engines/sci/engine/workarounds.cpp
@@ -134,6 +134,12 @@ const SciWorkaroundEntry kGraphDrawLine_workarounds[] = {
};
// gameID, room,script,lvl, object-name, method-name, call,index, workaround
+const SciWorkaroundEntry kGraphSaveBox_workarounds[] = {
+ { GID_CASTLEBRAIN, 420, 427, 0, "alienIcon", "select", -1, 0, { WORKAROUND_STILLCALL, 0 } }, // when selecting a card during the alien card game, gets called with 1 extra parameter
+ SCI_WORKAROUNDENTRY_TERMINATOR
+};
+
+// gameID, room,script,lvl, object-name, method-name, call,index, workaround
const SciWorkaroundEntry kGraphRestoreBox_workarounds[] = {
{ GID_LSL6, -1, 85, 0, "rScroller", "hide", -1, 0, { WORKAROUND_STILLCALL, 0 } }, // happens when restoring (sometimes), same as the one below
{ GID_LSL6, -1, 85, 0, "lScroller", "hide", -1, 0, { WORKAROUND_STILLCALL, 0 } }, // happens when restoring (sometimes), same as the one below