From 7d7e8c4af1d5c126017b3e2d1012cc7461c33fef Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 18 Jan 2017 23:02:30 -0500 Subject: TITANIC: Fix TV playback during prologue --- engines/titanic/support/avi_surface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3