aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorColin Snover2016-12-19 12:35:27 -0600
committerColin Snover2016-12-19 14:46:59 -0600
commit4f7173b13744fd15ed7677aad4785779b80cb5eb (patch)
treee3ac18ac2a05f8167574d0ed83f9fe8f4f843bd7 /engines/sci
parentba619a08dd5a2076c361155690736043f01b4703 (diff)
downloadscummvm-rg350-4f7173b13744fd15ed7677aad4785779b80cb5eb.tar.gz
scummvm-rg350-4f7173b13744fd15ed7677aad4785779b80cb5eb.tar.bz2
scummvm-rg350-4f7173b13744fd15ed7677aad4785779b80cb5eb.zip
SCI32: Generalize Phant1 kArraySetElements workaround
This bug exists in a system script that is called from many, many rooms, so it is simpler to just make the workaround apply to all rooms.
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/workarounds.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/engine/workarounds.cpp b/engines/sci/engine/workarounds.cpp
index 68243d1011..ed3c604f38 100644
--- a/engines/sci/engine/workarounds.cpp
+++ b/engines/sci/engine/workarounds.cpp
@@ -421,8 +421,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 on the wall in St Louis Cemetery
- { GID_PHANTASMAGORIA,902, 64918, 0, "Str", "callKernel", NULL, 0, { WORKAROUND_FAKE, 0 } }, // when starting a new game and selecting a chapter above 1
- { GID_PHANTASMAGORIA,47480, 64918,0, "Str", "callKernel", NULL, 0, { WORKAROUND_FAKE, 0 } }, // after completing the chase successfully
+ { GID_PHANTASMAGORIA, -1, 64918, 0, "Str", "callKernel", NULL, 0, { WORKAROUND_FAKE, 0 } }, // when starting a new game and selecting a chapter above 1, or when quitting the chase (in every chase room), or when completing chase successfully
SCI_WORKAROUNDENTRY_TERMINATOR
};