aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-12 17:50:36 +0000
committerMartin Kiewitz2010-07-12 17:50:36 +0000
commit8364b0bd29ddcf68cfc9ee53d09eb326703347e9 (patch)
tree5e1f6b28011231b9a4276e8f86591ca50fe74ddb /engines/sci
parent9522e68f76e707adb397d0dd37b25bdd1f16eff5 (diff)
downloadscummvm-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.cpp1
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
};