diff options
author | Paul Gilbert | 2015-08-15 12:16:47 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-08-15 12:16:47 -0400 |
commit | 5deb89689075c07284123084fbf56bde64d5ee56 (patch) | |
tree | e3028ca3fc364bd41497de3dc62bd21130da32b5 | |
parent | 00918f1aaaae88e0bbf35d4a52279d1684322cf4 (diff) | |
download | scummvm-rg350-5deb89689075c07284123084fbf56bde64d5ee56.tar.gz scummvm-rg350-5deb89689075c07284123084fbf56bde64d5ee56.tar.bz2 scummvm-rg350-5deb89689075c07284123084fbf56bde64d5ee56.zip |
SHERLOCK: RT: Reset _startSeq when an object sequence is changed
-rw-r--r-- | engines/sherlock/objects.cpp | 1 | ||||
-rw-r--r-- | engines/sherlock/people.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/engines/sherlock/objects.cpp b/engines/sherlock/objects.cpp index ab14132a71..c89915fb52 100644 --- a/engines/sherlock/objects.cpp +++ b/engines/sherlock/objects.cpp @@ -492,6 +492,7 @@ void BaseObject::setObjSequence(int seq, bool wait) { if (idx >= checkFrame) idx = 0; _frameNumber = idx; + _startSeq = idx; if (wait) { seqCc = idx; diff --git a/engines/sherlock/people.cpp b/engines/sherlock/people.cpp index 9cd4a16860..d91d7fa69a 100644 --- a/engines/sherlock/people.cpp +++ b/engines/sherlock/people.cpp @@ -197,6 +197,7 @@ void People::reset() { p._imageFrame = nullptr; p._frameNumber = 1; + p._startSeq = 0; p._delta = Point32(0, 0); p._oldPosition = Common::Point(0, 0); p._oldSize = Common::Point(0, 0); |