diff options
Diffstat (limited to 'engines/titanic')
-rw-r--r-- | engines/titanic/support/avi_surface.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/titanic/support/avi_surface.cpp b/engines/titanic/support/avi_surface.cpp index a817f492c1..cebc4ba43e 100644 --- a/engines/titanic/support/avi_surface.cpp +++ b/engines/titanic/support/avi_surface.cpp @@ -493,6 +493,12 @@ bool AVISurface::playCutscene(const Rect &r, uint startFrame, uint endFrame) { if (_currentFrame != ((int)startFrame - 1) || startFrame == 0) { // Start video playback at the desired starting frame + if (startFrame > 0) { + // Give a chance for a key frame just prior to the start frame + // to be loaded first + setFrame(startFrame - 1); + } + setFrame(startFrame); startAtFrame(startFrame); _currentFrame = startFrame; |