synced with scummvm

This commit is contained in:
Pawel Kolodziejski 2009-10-05 08:33:46 +00:00
parent fca3a20334
commit 7aa79c880d
115 changed files with 5209 additions and 2608 deletions

View file

@ -221,7 +221,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");