aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/support')
-rw-r--r--engines/titanic/support/avi_surface.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/support/avi_surface.cpp b/engines/titanic/support/avi_surface.cpp
index d3a63d71ae..22ed166034 100644
--- a/engines/titanic/support/avi_surface.cpp
+++ b/engines/titanic/support/avi_surface.cpp
@@ -160,6 +160,11 @@ void AVISurface::seekToFrame(uint frameNumber) {
--frameNumber;
if ((int)frameNumber != _currentFrame) {
+ if (frameNumber > 0) {
+ _decoder->seekToFrame(frameNumber - 1);
+ renderFrame();
+ }
+
_decoder->seekToFrame(frameNumber);
_currentFrame = _priorFrame = (int)frameNumber;
}