[Scummvm-cvs-logs] SF.net SVN: scummvm: [28668] scummvm/trunk/engines/gob/videoplayer.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sun Aug 19 21:07:31 CEST 2007


Revision: 28668
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28668&view=rev
Author:   eriktorbjorn
Date:     2007-08-19 12:07:31 -0700 (Sun, 19 Aug 2007)

Log Message:
-----------
Always update the video's position, even if it's already been loaded, because
it won't necessarily be played at the same position every time. For instance,
in Lost in Time you can look at the captain's chair several times. The position
of the video seems to depend on exactly where on the screen you clicked.

Modified Paths:
--------------
    scummvm/trunk/engines/gob/videoplayer.cpp

Modified: scummvm/trunk/engines/gob/videoplayer.cpp
===================================================================
--- scummvm/trunk/engines/gob/videoplayer.cpp	2007-08-19 19:06:41 UTC (rev 28667)
+++ scummvm/trunk/engines/gob/videoplayer.cpp	2007-08-19 19:07:31 UTC (rev 28668)
@@ -139,7 +139,6 @@
 		}
 
 		strcpy(_curFile, fileName);
-		_video->setXY(x, y);
 
 		if (!(flags & kFlagNoVideo)) {
 			_backSurf = ((flags & kFlagFrontSurface) == 0);
@@ -154,6 +153,7 @@
 	if (!_video)
 		return false;
 
+	_video->setXY(x, y);
 	WRITE_VAR(7, _video->getFramesCount());
 
 	return true;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list