diff options
author | whiterandrek | 2018-06-12 11:17:17 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2018-06-28 23:51:32 +0200 |
commit | a38a02d71ce99901d06905d6d632c45f1c5af80a (patch) | |
tree | e09e153ac10bf57c913a5a89e877bd9bb9ef615d /engines/pink | |
parent | 02524d81c8727ebcb61100df6b88eb25a77bed41 (diff) | |
download | scummvm-rg350-a38a02d71ce99901d06905d6d632c45f1c5af80a.tar.gz scummvm-rg350-a38a02d71ce99901d06905d6d632c45f1c5af80a.tar.bz2 scummvm-rg350-a38a02d71ce99901d06905d6d632c45f1c5af80a.zip |
PINK: fix CEL rewinding
Diffstat (limited to 'engines/pink')
-rw-r--r-- | engines/pink/cel_decoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/pink/cel_decoder.cpp b/engines/pink/cel_decoder.cpp index 960403733d..ef46c53cbc 100644 --- a/engines/pink/cel_decoder.cpp +++ b/engines/pink/cel_decoder.cpp @@ -209,7 +209,7 @@ bool CelDecoder::CelVideoTrack::rewind() { // 2) I changed behaviour of endOfTrack _nextFrameStartTime = 0; - if (getCurFrame() >= getFrameCount() - 1 && _fileStream->pos() < _fileStream->size()) + if (_curFrame >= (int) _frameCount - 1 && _fileStream->pos() < _fileStream->size()) _atRingFrame = true; else _fileStream->seek(_offsetFrame1); |