aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorColin Snover2016-11-10 10:16:06 -0600
committerColin Snover2016-11-10 10:17:01 -0600
commit1e8b95f0255328d3da4e78f54f528704f99063cf (patch)
tree14905fef1906624921d0d67d501fe7b5aa5459ec /engines/sci
parent89f1e9939c43560419704b3de4a096f1e2c243ef (diff)
downloadscummvm-rg350-1e8b95f0255328d3da4e78f54f528704f99063cf.tar.gz
scummvm-rg350-1e8b95f0255328d3da4e78f54f528704f99063cf.tar.bz2
scummvm-rg350-1e8b95f0255328d3da4e78f54f528704f99063cf.zip
SCI32: Fix GK1 crash when erasing letters in St Louis Cemetery
Fixes Trac#9642.
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/workarounds.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp
index 52c5c33066..3cad559dbd 100644
--- a/engines/sci/engine/workarounds.cpp
+++ b/engines/sci/engine/workarounds.cpp
@@ -399,6 +399,7 @@ const SciWorkaroundEntry kAbs_workarounds[] = {
// gameID, room,script,lvl, object-name, method-name, local-call-signature, index, workaround
const SciWorkaroundEntry kArraySetElements_workarounds[] = {
+ { GID_GK1, 302, 64918, 0, "Str", "callKernel", NULL, 0, { WORKAROUND_FAKE, 0 } }, // when erasing a letter
{ GID_PHANTASMAGORIA,902, 64918, 0, "Str", "callKernel", NULL, 0, { WORKAROUND_FAKE, 0 } }, // tries to set an element of a string array to the ego object when starting a new game and selecting a chapter above 1
SCI_WORKAROUNDENTRY_TERMINATOR
};