aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Snover2017-06-10 00:13:27 -0500
committerColin Snover2017-06-10 00:13:58 -0500
commit48baf5a4a5b3a23bd9bad02a3b48ee9ec9e924f1 (patch)
tree185fdd06b1f2fd9c7ae7927dc867ab588c44065a
parent2a366e3869361e8d8b754000255d52595f1775c3 (diff)
downloadscummvm-rg350-48baf5a4a5b3a23bd9bad02a3b48ee9ec9e924f1.tar.gz
scummvm-rg350-48baf5a4a5b3a23bd9bad02a3b48ee9ec9e924f1.tar.bz2
scummvm-rg350-48baf5a4a5b3a23bd9bad02a3b48ee9ec9e924f1.zip
SCI32: Fix uninitialized temp read in LSL6hires
Fixes Trac#9811.
-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 3ac5e04aad..b6f0ac8f72 100644
--- a/engines/sci/engine/workarounds.cpp
+++ b/engines/sci/engine/workarounds.cpp
@@ -345,6 +345,7 @@ const SciWorkaroundEntry uninitializedReadWorkarounds[] = {
{ GID_LSL6, -1, 85, 0, "washcloth", "doVerb", NULL, 0, { WORKAROUND_FAKE, 0 } }, // washcloth in inventory
{ GID_LSL6, -1, 928, -1, "Narrator", "startText", NULL, 0, { WORKAROUND_FAKE, 0 } }, // used by various objects that are even translated in foreign versions, that's why we use the base-class
{ GID_LSL6HIRES, -1, 85, 0, "LL6Inv", "init", NULL, 0, { WORKAROUND_FAKE, 0 } }, // when creating a new game
+ { GID_LSL6HIRES, -1, 85, 0, "washcloth", "doVerb", NULL, 0, { WORKAROUND_FAKE, 0 } }, // when interacting with the wet washcloth in the inventory - Trac#9811
{ GID_LSL6HIRES, -1, 64950, 1, "Feature", "handleEvent", NULL, 0, { WORKAROUND_FAKE, 0 } }, // at least when entering swimming pool area
{ GID_LSL6HIRES, -1, 64964, 0, "DPath", "init", NULL, 1, { WORKAROUND_FAKE, 0 } }, // during the game
{ GID_LSL7, -1, 64017, 0, "oFlags", "clear", NULL, 0, { WORKAROUND_FAKE, 0 } }, // demo version, when it starts, and whenever the player chooses to go to the "Strip Liar's Dice" mini game