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 3320beb30c..eb5c763106 100644 --- a/engines/sherlock/talk.cpp +++ b/engines/sherlock/talk.cpp @@ -1406,10 +1406,10 @@ void Talk::doScript(const Common::String &script) { ++str; for (int idx = 0; idx < (str[0] & 127); ++idx) tempString += str[idx + 1]; - str += str[0] & 127; // Set comparison state according to if we want to hide or unhide bool state = ((byte)str[0] >= 128); + str += str[0] & 127; for (uint idx = 0; idx < scene._bgShapes.size(); ++idx) { Object &obj = scene._bgShapes[idx]; |