aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2017-01-18 23:02:30 -0500
committerPaul Gilbert2017-01-18 23:02:30 -0500
commit7d7e8c4af1d5c126017b3e2d1012cc7461c33fef (patch)
tree4643861f6ff4073a4829094a9c07303c2e1c3f74
parent12ebe10d0178ecbdec1cc58e165926cb58cb13ff (diff)
downloadscummvm-rg350-7d7e8c4af1d5c126017b3e2d1012cc7461c33fef.tar.gz
scummvm-rg350-7d7e8c4af1d5c126017b3e2d1012cc7461c33fef.tar.bz2
scummvm-rg350-7d7e8c4af1d5c126017b3e2d1012cc7461c33fef.zip
TITANIC: Fix TV playback during prologue
-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 d5242688c4..42e3618b97 100644
--- a/engines/titanic/support/avi_surface.cpp
+++ b/engines/titanic/support/avi_surface.cpp
@@ -159,7 +159,7 @@ void AVISurface::seekToFrame(uint frameNumber) {
if (_isReversed && frameNumber == _decoder->getFrameCount())
--frameNumber;
- if ((int)frameNumber != getFrame()) {
+ if ((int)frameNumber != _currentFrame) {
_decoder->seekToFrame(frameNumber);
_currentFrame = _priorFrame = (int)frameNumber;
}