diff options
-rw-r--r-- | engines/sherlock/talk.cpp | 2 |
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); |