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

strangerke at users.sourceforge.net strangerke at users.sourceforge.net
Wed Dec 22 18:51:08 CET 2010


Revision: 55013
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55013&view=rev
Author:   strangerke
Date:     2010-12-22 17:51:07 +0000 (Wed, 22 Dec 2010)

Log Message:
-----------
HUGO: Fix little bug in sound player

Mute/unmute sound and music at the same time

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

Modified: scummvm/trunk/engines/hugo/sound.cpp
===================================================================
--- scummvm/trunk/engines/hugo/sound.cpp	2010-12-22 15:33:46 UTC (rev 55012)
+++ scummvm/trunk/engines/hugo/sound.cpp	2010-12-22 17:51:07 UTC (rev 55013)
@@ -257,7 +257,7 @@
 // Turn music on and off
 	_config.musicFl = !_config.musicFl;
 
-	_midiPlayer->pause(_config.musicFl);
+	_midiPlayer->pause(!_config.musicFl);
 }
 
 void SoundHandler::toggleSound() {


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