aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock
diff options
context:
space:
mode:
authorPaul Gilbert2015-04-26 03:07:13 -0500
committerPaul Gilbert2015-04-26 03:07:13 -0500
commit6a13dad7ef844ffd5e5174b337cf7e4ad272c80b (patch)
treebf7e8c79b27740943d9b43d164f8c00822a3d208 /engines/sherlock
parent841a8df09943d77601d1b44c63a2b0c5a531e468 (diff)
downloadscummvm-rg350-6a13dad7ef844ffd5e5174b337cf7e4ad272c80b.tar.gz
scummvm-rg350-6a13dad7ef844ffd5e5174b337cf7e4ad272c80b.tar.bz2
scummvm-rg350-6a13dad7ef844ffd5e5174b337cf7e4ad272c80b.zip
SHERLOCK: Fix TOGGLE_OBJECT talk opcode
Diffstat (limited to 'engines/sherlock')
-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];