diff options
-rw-r--r-- | engines/engine.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/engine.cpp b/engines/engine.cpp index 11e46e893a..291f036c5a 100644 --- a/engines/engine.cpp +++ b/engines/engine.cpp @@ -343,7 +343,10 @@ void Engine::syncSoundSettings() { } 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"); |