diff options
author | Paul Gilbert | 2017-09-12 20:39:54 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-12 20:39:54 -0400 |
commit | d5df72998c33a03b58b0206dd39685280f25d39d (patch) | |
tree | 85c612caf334e5e77f09255b43b45a1046d4e723 /engines/titanic/support | |
parent | 2b745ac298c0465c8f9df4ec9992806c1e0a6103 (diff) | |
download | scummvm-rg350-d5df72998c33a03b58b0206dd39685280f25d39d.tar.gz scummvm-rg350-d5df72998c33a03b58b0206dd39685280f25d39d.tar.bz2 scummvm-rg350-d5df72998c33a03b58b0206dd39685280f25d39d.zip |
TITANIC: Fix blocky squares during transitions on SGT level
Diffstat (limited to 'engines/titanic/support')
-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; |