[Scummvm-cvs-logs] SF.net SVN: scummvm:[53714] scummvm/trunk/engines/tinsel/sound.cpp

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Fri Oct 22 23:49:21 CEST 2010


Revision: 53714
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53714&view=rev
Author:   dreammaster
Date:     2010-10-22 21:49:21 +0000 (Fri, 22 Oct 2010)

Log Message:
-----------
TINSEL: Load samples file for DW2 Demo

Modified Paths:
--------------
    scummvm/trunk/engines/tinsel/sound.cpp

Modified: scummvm/trunk/engines/tinsel/sound.cpp
===================================================================
--- scummvm/trunk/engines/tinsel/sound.cpp	2010-10-22 21:42:48 UTC (rev 53713)
+++ scummvm/trunk/engines/tinsel/sound.cpp	2010-10-22 21:49:21 UTC (rev 53714)
@@ -480,8 +480,8 @@
  * Opens and inits all sound sample files.
  */
 void SoundManager::openSampleFiles() {
-	// Floppy and demo versions have no sample files
-	if (_vm->getFeatures() & GF_FLOPPY || _vm->getFeatures() & GF_DEMO)
+	// Floppy and demo versions have no sample files, except for the Discworld 2 demo
+	if (_vm->getFeatures() & GF_FLOPPY || (IsDemo && !TinselV2))
 		return;
 
 	TinselFile f;


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