aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support
diff options
context:
space:
mode:
authorPaul Gilbert2017-07-20 07:28:56 -0400
committerPaul Gilbert2017-07-20 07:28:56 -0400
commit9752d7bb43f41106147e7a39e0381fae51443c94 (patch)
tree4084855d02b9726a2ccc9db0ffc67908406a814a /engines/titanic/support
parent300e34d53520f56d9bc35595b46fcd613d2ec851 (diff)
downloadscummvm-rg350-9752d7bb43f41106147e7a39e0381fae51443c94.tar.gz
scummvm-rg350-9752d7bb43f41106147e7a39e0381fae51443c94.tar.bz2
scummvm-rg350-9752d7bb43f41106147e7a39e0381fae51443c94.zip
TITANIC: Don't load prior frame for videos when in reverse mode
Diffstat (limited to 'engines/titanic/support')
-rw-r--r--engines/titanic/support/avi_surface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/support/avi_surface.cpp b/engines/titanic/support/avi_surface.cpp
index b14d96238d..28b509a297 100644
--- a/engines/titanic/support/avi_surface.cpp
+++ b/engines/titanic/support/avi_surface.cpp
@@ -168,7 +168,7 @@ void AVISurface::seekToFrame(uint frameNumber) {
--frameNumber;
if ((int)frameNumber != _currentFrame) {
- if (frameNumber > 0) {
+ if (!isReversed() && frameNumber > 0) {
_decoder->seekToFrame(frameNumber - 1);
renderFrame();
}