[Scummvm-cvs-logs] SF.net SVN: scummvm:[35759] scummvm/trunk/engines/scumm/he/animation_he.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Jan 6 18:46:38 CET 2009


Revision: 35759
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35759&view=rev
Author:   thebluegr
Date:     2009-01-06 17:46:38 +0000 (Tue, 06 Jan 2009)

Log Message:
-----------
Updated SCUMM with the latest changes to video players

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/he/animation_he.cpp

Modified: scummvm/trunk/engines/scumm/he/animation_he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/animation_he.cpp	2009-01-06 17:45:39 UTC (rev 35758)
+++ scummvm/trunk/engines/scumm/he/animation_he.cpp	2009-01-06 17:46:38 UTC (rev 35759)
@@ -40,13 +40,13 @@
 }
 
 int MoviePlayer::getImageNum() {
-	if (!_fileStream)
+	if (!videoIsLoaded())
 		return 0;
 	return _wizResNum;
 }
 
 int MoviePlayer::load(const char *filename, int flags, int image) {
-	if (_fileStream) {
+	if (videoIsLoaded()) {
 		closeFile();
 	}
 
@@ -67,7 +67,7 @@
 }
 
 void MoviePlayer::handleNextFrame() {
-	if (_fileStream == false) {
+	if (!videoIsLoaded()) {
 		return;
 	}
 


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