[Scummvm-git-logs] scummvm master -> 7d7e8c4af1d5c126017b3e2d1012cc7461c33fef

dreammaster dreammaster at scummvm.org
Thu Jan 19 05:02:37 CET 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
7d7e8c4af1 TITANIC: Fix TV playback during prologue


Commit: 7d7e8c4af1d5c126017b3e2d1012cc7461c33fef
    https://github.com/scummvm/scummvm/commit/7d7e8c4af1d5c126017b3e2d1012cc7461c33fef
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-01-18T23:02:30-05:00

Commit Message:
TITANIC: Fix TV playback during prologue

Changed paths:
    engines/titanic/support/avi_surface.cpp


diff --git a/engines/titanic/support/avi_surface.cpp b/engines/titanic/support/avi_surface.cpp
index d524268..42e3618 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;
 	}





More information about the Scummvm-git-logs mailing list