SHERLOCK: RT: Reset _startSeq when an object sequence is changed

This commit is contained in:
Paul Gilbert 2015-08-15 12:16:47 -04:00
parent 00918f1aaa
commit 5deb896890
2 changed files with 2 additions and 0 deletions

View File

@ -492,6 +492,7 @@ void BaseObject::setObjSequence(int seq, bool wait) {
if (idx >= checkFrame)
idx = 0;
_frameNumber = idx;
_startSeq = idx;
if (wait) {
seqCc = idx;

View File

@ -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);