diff options
author | whiterandrek | 2018-06-19 21:43:11 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2018-06-28 23:51:32 +0200 |
commit | cfc5538f95f5b642c7037eb142999f67d72ca111 (patch) | |
tree | bd31875d883878ee0a7f9098876111e90b60cf95 /engines/pink/objects/sequences/sequencer.cpp | |
parent | 0835b0fee134ae5b687bb2e609d966b0692eb496 (diff) | |
download | scummvm-rg350-cfc5538f95f5b642c7037eb142999f67d72ca111.tar.gz scummvm-rg350-cfc5538f95f5b642c7037eb142999f67d72ca111.tar.bz2 scummvm-rg350-cfc5538f95f5b642c7037eb142999f67d72ca111.zip |
PINK: fix skipping sequence
Diffstat (limited to 'engines/pink/objects/sequences/sequencer.cpp')
-rw-r--r-- | engines/pink/objects/sequences/sequencer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/pink/objects/sequences/sequencer.cpp b/engines/pink/objects/sequences/sequencer.cpp index 9c6c7c0ada..a98512e076 100644 --- a/engines/pink/objects/sequences/sequencer.cpp +++ b/engines/pink/objects/sequences/sequencer.cpp @@ -159,8 +159,9 @@ void Sequencer::restartSequence() { _context->getSequence()->restart(); } -void Sequencer::skipToLastSubSequence() { - _context->getSequence()->skipToLastSubSequence(); +void Sequencer::skipSequence() { + if (_context->getSequence()->_unk) + _context->getSequence()->skip(); } void Sequencer::updateTimers() { |