[Scummvm-cvs-logs] SF.net SVN: scummvm: [31280] scummvm/trunk/engines/kyra/kyra_v2.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri Mar 28 01:16:48 CET 2008


Revision: 31280
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31280&view=rev
Author:   lordhoto
Date:     2008-03-27 17:16:47 -0700 (Thu, 27 Mar 2008)

Log Message:
-----------

Properly set sfx flag when playing digital SFX.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/kyra_v2.cpp

Modified: scummvm/trunk/engines/kyra/kyra_v2.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra_v2.cpp	2008-03-28 00:13:43 UTC (rev 31279)
+++ scummvm/trunk/engines/kyra/kyra_v2.cpp	2008-03-28 00:16:47 UTC (rev 31280)
@@ -1778,7 +1778,7 @@
 
 	int16 vocIndex = (int16)READ_LE_UINT16(&_ingameSoundIndex[track * 2]);
 	if (vocIndex != -1)
-		_sound->voicePlay(_ingameSoundList[vocIndex]);
+		_sound->voicePlay(_ingameSoundList[vocIndex], true);
 	else if (_flags.platform == Common::kPlatformPC)
 		// TODO ?? Maybe there is a way to let users select whether they want
 		// voc, midi or adl sfx (even though it makes no sense to choose anything but voc).


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