aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2015-08-17 19:08:15 -0400
committerPaul Gilbert2015-08-17 19:08:15 -0400
commit1aba10f9521ab11efe5da711831b137c00625de5 (patch)
tree0d41f3c394b97f19786936dcd44d30f664013025 /engines
parentfe362f3fbc0a4df5ba83737f4ba4c1f04943aad1 (diff)
downloadscummvm-rg350-1aba10f9521ab11efe5da711831b137c00625de5.tar.gz
scummvm-rg350-1aba10f9521ab11efe5da711831b137c00625de5.tar.bz2
scummvm-rg350-1aba10f9521ab11efe5da711831b137c00625de5.zip
SHERLOCK: RT: Fix hang on ALLOW_TALK_CODE sequence code
Diffstat (limited to 'engines')
-rw-r--r--engines/sherlock/objects.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sherlock/objects.cpp b/engines/sherlock/objects.cpp
index c89915fb52..b412724002 100644
--- a/engines/sherlock/objects.cpp
+++ b/engines/sherlock/objects.cpp
@@ -180,6 +180,7 @@ void BaseObject::checkObject() {
if (IS_ROSE_TATTOO && v == ALLOW_TALK_CODE) {
if (_gotoSeq) {
setObjTalkSequence(_gotoSeq);
+ _gotoSeq = 0;
} else {
++_frameNumber;
}