diff options
-rw-r--r-- | graphics/video/coktel_decoder.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/video/coktel_decoder.cpp b/graphics/video/coktel_decoder.cpp index c49f7480d2..dc27a92579 100644 --- a/graphics/video/coktel_decoder.cpp +++ b/graphics/video/coktel_decoder.cpp @@ -713,6 +713,9 @@ bool IMDDecoder::seek(int32 frame, int whence, bool restart) { } else if (restart && (_soundStage == kSoundNone)) { + _curFrame = 0; + _stream->seek(_firstFramePos); + for (int i = ((frame > _curFrame) ? _curFrame : 0); i <= frame; i++) processFrame(); |