aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-12 10:31:32 +0000
committerMartin Kiewitz2010-07-12 10:31:32 +0000
commit21c91066202f58ca50ff26a7c543379c53045fba (patch)
tree7df7b2d50ea4b42db2e3caba685847b9c69843de /engines
parentc1e954bdad96b7ae8e518e92aec365c7c26377bb (diff)
downloadscummvm-rg350-21c91066202f58ca50ff26a7c543379c53045fba.tar.gz
scummvm-rg350-21c91066202f58ca50ff26a7c543379c53045fba.tar.bz2
scummvm-rg350-21c91066202f58ca50ff26a7c543379c53045fba.zip
SCI: added another workaround for lsl6 kGraph(restoreBox)
svn-id: r50815
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kernel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp
index c505d1916b..e9b6787b05 100644
--- a/engines/sci/engine/kernel.cpp
+++ b/engines/sci/engine/kernel.cpp
@@ -263,8 +263,9 @@ static const SciWorkaroundEntry kDoSoundFade_workarounds[] = {
// gameID, scriptNr,lvl, object-name, method-name, call, index, replace
static const SciWorkaroundEntry kGraphRestoreBox_workarounds[] = {
- { GID_LSL6, 86, 0, "LL6Inv", "show", -1, 0, { 1, 0 } }, // happens when restoring, is called with hunk segment, but hunk is not allocated at that time
+ { GID_LSL6, 86, 0, "LL6Inv", "show", -1, 0, { 0, 0 } }, // happens when restoring, is called with hunk segment, but hunk is not allocated at that time
// ^^ TODO: check, if this is really a script error or an issue with our restore code
+ { GID_LSL6, 86, 0, "LL6Inv", "hide", -1, 0, { 0, 0 } }, // happens during the game, gets called with 1 extra parameter
SCI_WORKAROUNDENTRY_TERMINATOR
};