[Scummvm-cvs-logs] SF.net SVN: scummvm:[44309] scummvm/branches/branch-1-0-0/engines/engine. cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Thu Sep 24 18:21:42 CEST 2009
Revision: 44309
http://scummvm.svn.sourceforge.net/scummvm/?rev=44309&view=rev
Author: lordhoto
Date: 2009-09-24 16:21:42 +0000 (Thu, 24 Sep 2009)
Log Message:
-----------
Backport of r44308.
Modified Paths:
--------------
scummvm/branches/branch-1-0-0/engines/engine.cpp
Modified: scummvm/branches/branch-1-0-0/engines/engine.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/engines/engine.cpp 2009-09-24 16:17:52 UTC (rev 44308)
+++ scummvm/branches/branch-1-0-0/engines/engine.cpp 2009-09-24 16:21:42 UTC (rev 44309)
@@ -314,7 +314,10 @@
}
void Engine::flipMute() {
- bool mute = false;
+ // Mute will be set to true by default here. This has two reasons:
+ // - if the game already has an "mute" config entry, it will be overwritten anyway.
+ // - if it does not have a "mute" config entry, the sound is unmuted currently and should be muted now.
+ bool mute = true;
if (ConfMan.hasKey("mute")) {
mute = !ConfMan.getBool("mute");
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