aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sherlock/talk.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp
index 4e7e4de2d0..d81f98cac7 100644
--- a/engines/sherlock/talk.cpp
+++ b/engines/sherlock/talk.cpp
@@ -1294,6 +1294,7 @@ void Talk::doScript(const Common::String &script) {
break;
case TOGGLE_OBJECT:
+ ++str;
for (int idx = 0; idx < str[0]; ++idx)
tempString += str[idx + 1];