aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic')
-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;
}