aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2015-04-30 15:01:15 -1000
committerPaul Gilbert2015-04-30 15:01:15 -1000
commitd57cb94752c8c833c06bc1ef531f53587ab1df55 (patch)
treea88b87eeb1b205ee4b6d97fd5134e3963a85b93c
parent329f6d744cf1aa002f013be0e5b0af62873598e2 (diff)
downloadscummvm-rg350-d57cb94752c8c833c06bc1ef531f53587ab1df55.tar.gz
scummvm-rg350-d57cb94752c8c833c06bc1ef531f53587ab1df55.tar.bz2
scummvm-rg350-d57cb94752c8c833c06bc1ef531f53587ab1df55.zip
SHERLOCK: Fix picking up pail at docks
-rw-r--r--engines/sherlock/talk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp
index 7686df2944..5a36303b21 100644
--- a/engines/sherlock/talk.cpp
+++ b/engines/sherlock/talk.cpp
@@ -1403,7 +1403,7 @@ void Talk::doScript(const Common::String &script) {
++str;
for (int idx = 0; idx < (str[0] & 127); ++idx)
tempString += str[idx + 1];
- str += str[0];
+ str += str[0] & 127;
// Set comparison state according to if we want to hide or unhide
bool state = ((byte)str[0] >= 128);