diff options
author | Martin Kiewitz | 2010-07-12 17:50:36 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-07-12 17:50:36 +0000 |
commit | 8364b0bd29ddcf68cfc9ee53d09eb326703347e9 (patch) | |
tree | 5e1f6b28011231b9a4276e8f86591ca50fe74ddb /engines/sci | |
parent | 9522e68f76e707adb397d0dd37b25bdd1f16eff5 (diff) | |
download | scummvm-rg350-8364b0bd29ddcf68cfc9ee53d09eb326703347e9.tar.gz scummvm-rg350-8364b0bd29ddcf68cfc9ee53d09eb326703347e9.tar.bz2 scummvm-rg350-8364b0bd29ddcf68cfc9ee53d09eb326703347e9.zip |
SCI: adding kUnLoad workaround for lsl6 (during end kUnLoad is called with additional 4 parameters, someone thought the API would work differently)
svn-id: r50826
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/engine/kernel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp index 892e64a0e1..6eedc06023 100644 --- a/engines/sci/engine/kernel.cpp +++ b/engines/sci/engine/kernel.cpp @@ -286,6 +286,7 @@ static const SciWorkaroundEntry kGraphFillBoxAny_workarounds[] = { // gameID, scriptNr,lvl, object-name, method-name, call, index, replace static const SciWorkaroundEntry kUnLoad_workarounds[] = { { GID_LSL6, 130, 0, "recruitLarryScr", "changeState", -1, 0, { 1, 0 } }, // during intro, a 3rd parameter is passed by accident + { GID_LSL6, 740, 0, "showCartoon", "changeState", -1, 0, { 1, 0 } }, // during end, intro, a 4 additional parameters are passed by accident { GID_SQ1, 303, 0, "slotGuy", "dispose", -1, 0, { 1, 0 } }, // when leaving ulence flats bar, parameter 1 is not passed - script error SCI_WORKAROUNDENTRY_TERMINATOR }; |