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

strangerke at users.sourceforge.net strangerke at users.sourceforge.net
Sun Oct 18 18:59:33 CEST 2009


Revision: 45226
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45226&view=rev
Author:   strangerke
Date:     2009-10-18 16:59:33 +0000 (Sun, 18 Oct 2009)

Log Message:
-----------
gob - "Windows" Gob3 has errors in scripts, calling .IMD videos instead of .VMD ones. This modification fixes that.

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

Modified: scummvm/trunk/engines/gob/videoplayer.cpp
===================================================================
--- scummvm/trunk/engines/gob/videoplayer.cpp	2009-10-18 16:44:14 UTC (rev 45225)
+++ scummvm/trunk/engines/gob/videoplayer.cpp	2009-10-18 16:59:33 UTC (rev 45226)
@@ -171,7 +171,11 @@
 	if (extStart == (fileName + strlen(fileName) - 1)) {
 		*extStart = 0;
 		extStart = 0;
-	}
+	} else
+		if (!_vm->_dataIO->existData(fileName)) {
+			*extStart = 0;
+			extStart = 0;
+		}
 
 	if (extStart) {
 		// The requested file already has an extension. Verifying.


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