mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 18:06:26 +00:00
SHERLOCK: RT: Reset _startSeq when an object sequence is changed
This commit is contained in:
parent
00918f1aaa
commit
5deb896890
@ -492,6 +492,7 @@ void BaseObject::setObjSequence(int seq, bool wait) {
|
||||
if (idx >= checkFrame)
|
||||
idx = 0;
|
||||
_frameNumber = idx;
|
||||
_startSeq = idx;
|
||||
|
||||
if (wait) {
|
||||
seqCc = idx;
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user