aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/workarounds.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-08-07 01:09:32 +0000
committerFilippos Karapetis2010-08-07 01:09:32 +0000
commitab79d581531355f76f90ce0668e012ffbfa201f5 (patch)
tree86d17d40a01eeaba9b01699751283ea433e125c0 /engines/sci/engine/workarounds.cpp
parent0cb8e130d891cfe2418e2792c490f73544cb6689 (diff)
downloadscummvm-rg350-ab79d581531355f76f90ce0668e012ffbfa201f5.tar.gz
scummvm-rg350-ab79d581531355f76f90ce0668e012ffbfa201f5.tar.bz2
scummvm-rg350-ab79d581531355f76f90ce0668e012ffbfa201f5.zip
SCI: Fixed script bug #3040142 - "PEPPER: Crash on Pugh's office"
svn-id: r51821
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 4c6ddc18df..b7bb306edf 100644
--- a/engines/sci/engine/workarounds.cpp
+++ b/engines/sci/engine/workarounds.cpp
@@ -53,6 +53,12 @@ const SciWorkaroundEntry opcodeGeWorkarounds[] = {
};
// gameID, room,script,lvl, object-name, method-name, call,index, workaround
+const SciWorkaroundEntry opcodeLeWorkarounds[] = {
+ { GID_PEPPER, 370, 23, 0, "eastExitFeature", "onMe", -1, 0, { WORKAROUND_FAKE, 1 } }, // Pugh's office, when trying to use either the left or right exits, gets called on an integer and a pointer - bug #3040142
+ SCI_WORKAROUNDENTRY_TERMINATOR
+};
+
+// gameID, room,script,lvl, object-name, method-name, call,index, workaround
const SciWorkaroundEntry opcodeLsiWorkarounds[] = {
{ GID_QFG2, 200, 200, 0, "astro", "messages", -1, 0, { WORKAROUND_FAKE, 0 } }, // when getting asked for your name by the astrologer bug #3039879
SCI_WORKAROUNDENTRY_TERMINATOR