aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2015-04-30 16:59:36 -1000
committerPaul Gilbert2015-04-30 16:59:36 -1000
commite332565119b7efe85ba91fd601f994997912481f (patch)
tree7ae8123ddfd935c37b0eae0e763a99c3fc3673ee
parente37cf9c4d0d33c0b0ba9eb7bb842b49205baac4b (diff)
downloadscummvm-rg350-e332565119b7efe85ba91fd601f994997912481f.tar.gz
scummvm-rg350-e332565119b7efe85ba91fd601f994997912481f.tar.bz2
scummvm-rg350-e332565119b7efe85ba91fd601f994997912481f.zip
SHERLOCK: Fix Gregson disappearing at Morgue
-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 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];