[Scummvm-cvs-logs] SF.net SVN: scummvm:[38237] scummvm/trunk/engines/sword1/animation.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sun Feb 15 14:43:44 CET 2009


Revision: 38237
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38237&view=rev
Author:   thebluegr
Date:     2009-02-15 13:43:44 +0000 (Sun, 15 Feb 2009)

Log Message:
-----------
Oops, fixed Smacker video playing in BS1

Modified Paths:
--------------
    scummvm/trunk/engines/sword1/animation.cpp

Modified: scummvm/trunk/engines/sword1/animation.cpp
===================================================================
--- scummvm/trunk/engines/sword1/animation.cpp	2009-02-15 13:29:48 UTC (rev 38236)
+++ scummvm/trunk/engines/sword1/animation.cpp	2009-02-15 13:43:44 UTC (rev 38237)
@@ -144,8 +144,8 @@
 	}
 
 	if (_decoder->loadFile(filename)) {
-		// The Broken Sword games always use external audio tracks.
-		if (_decoder->readSoundHeader() != MKID_BE('NULL'))
+		// The DXA animations in the Broken Sword games always use external audio tracks.
+		if (_decoderType == kVideoDecoderDXA && _decoder->readSoundHeader() != MKID_BE('NULL'))
 			return false;
 	} else {
 		return false;


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