From e332565119b7efe85ba91fd601f994997912481f Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 30 Apr 2015 16:59:36 -1000 Subject: SHERLOCK: Fix Gregson disappearing at Morgue --- engines/sherlock/talk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sherlock') 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]; -- cgit v1.2.3