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

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Sun Jan 23 07:54:35 CET 2011


Revision: 55459
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55459&view=rev
Author:   mthreepwood
Date:     2011-01-23 06:54:35 +0000 (Sun, 23 Jan 2011)

Log Message:
-----------
MOHAWK: Do not stop ambient sounds when finding no matching Riven SLST index

This fixes the ambient sounds in the Rebel Tunnel puzzle and Temple Island maglev among other places.

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

Modified: scummvm/trunk/engines/mohawk/sound.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/sound.cpp	2011-01-23 06:02:46 UTC (rev 55458)
+++ scummvm/trunk/engines/mohawk/sound.cpp	2011-01-23 06:54:35 UTC (rev 55459)
@@ -259,8 +259,8 @@
 
 	delete slstStream;
 
-	// No matching records, assume we need to stop all SLST's
-	stopAllSLST();
+	// If we have no matching entries, we do nothing and just let
+	// the previous ambient sounds continue.
 }
 
 void Sound::playSLST(SLSTRecord slstRecord) {


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