aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock
diff options
context:
space:
mode:
authorPaul Gilbert2015-08-29 16:14:31 -0400
committerPaul Gilbert2015-08-29 16:14:31 -0400
commit91c131f8ff835f2241353f2d827c8eafa58e96ab (patch)
tree3cd8bb08a3a49583a4853f57b414593014b39370 /engines/sherlock
parenta6605c3cbbc5ac4cc823778ae1749624542ca48c (diff)
downloadscummvm-rg350-91c131f8ff835f2241353f2d827c8eafa58e96ab.tar.gz
scummvm-rg350-91c131f8ff835f2241353f2d827c8eafa58e96ab.tar.bz2
scummvm-rg350-91c131f8ff835f2241353f2d827c8eafa58e96ab.zip
SHERLOCK: RT: Reset each person _resetNPCPath when starting a script
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 1b1a7cce3c..26550a7a8e 100644
--- a/engines/sherlock/talk.cpp
+++ b/engines/sherlock/talk.cpp
@@ -671,6 +671,7 @@ void Talk::doScript(const Common::String &script) {
Tattoo::TattooPerson &p = (*(Tattoo::TattooPeople *)_vm->_people)[idx];
p._savedNpcSequence = p._sequenceNumber;
p._savedNpcFrame = p._frameNumber;
+ p._resetNPCPath = true;
}
}