diff options
author | Willem Jan Palenstijn | 2011-07-13 22:41:18 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-07-13 22:43:21 +0200 |
commit | 3e38e6e22158de309914a946e5791ea2b927078b (patch) | |
tree | af97b6fc1643108bb2ec3cf56fafaa96118b1918 /engines | |
parent | 5825ccc16865b9c60d2587b31c50d2ebcc9bab67 (diff) | |
download | scummvm-rg350-3e38e6e22158de309914a946e5791ea2b927078b.tar.gz scummvm-rg350-3e38e6e22158de309914a946e5791ea2b927078b.tar.bz2 scummvm-rg350-3e38e6e22158de309914a946e5791ea2b927078b.zip |
SCI: Restore deleted LSL6 workaround for crash on loading
This was probably accidentally removed in
194081e7ae79a632ce446653cc7119b74d3a6fac. The TODO/CHECKME on it still
applies. Reported in bug #3366329.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/workarounds.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp index e61da20f97..b2cde47f4a 100644 --- a/engines/sci/engine/workarounds.cpp +++ b/engines/sci/engine/workarounds.cpp @@ -283,6 +283,8 @@ const SciWorkaroundEntry kGraphSaveBox_workarounds[] = { // gameID, room,script,lvl, object-name, method-name, call,index, workaround const SciWorkaroundEntry kGraphRestoreBox_workarounds[] = { + { GID_LSL6, -1, 86, 0, "LL6Inv", "show", -1, 0, { WORKAROUND_STILLCALL, 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, -1, 86, 0, "LL6Inv", "hide", -1, 0, { WORKAROUND_STILLCALL, 0 } }, // happens during the game, gets called with 1 extra parameter { GID_SQ5, 850, 850, 0, NULL, "changeState", -1, 0, { WORKAROUND_STILLCALL, 0 } }, // happens while playing Battle Cruiser (invalid segment) - bug #3056811 SCI_WORKAROUNDENTRY_TERMINATOR |