[Scummvm-git-logs] scummvm master -> e55490a8ba3976bb5f4c97566846d9421098d2a0
antoniou79
noreply at scummvm.org
Tue Aug 2 12:47:36 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
e55490a8ba TOON: Fix music, sfx muted by default when adding the game
Commit: e55490a8ba3976bb5f4c97566846d9421098d2a0
https://github.com/scummvm/scummvm/commit/e55490a8ba3976bb5f4c97566846d9421098d2a0
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2022-08-02T15:44:35+03:00
Commit Message:
TOON: Fix music, sfx muted by default when adding the game
Changed paths:
engines/toon/toon.cpp
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp
index 66ec36b282a..8bc5fa2fad6 100644
--- a/engines/toon/toon.cpp
+++ b/engines/toon/toon.cpp
@@ -5528,12 +5528,12 @@ void ToonEngine::syncSoundSettings() {
allSoundIsMuted = ConfMan.getBool("mute");
if (!_noMusicDriver) {
_mixer->muteSoundType(_mixer->kMusicSoundType, allSoundIsMuted);
- _audioManager->muteMusic(true);
+ _audioManager->muteMusic(allSoundIsMuted);
}
_mixer->muteSoundType(_mixer->kSpeechSoundType, allSoundIsMuted);
- _audioManager->muteVoice(true);
+ _audioManager->muteVoice(allSoundIsMuted);
_mixer->muteSoundType(_mixer->kSFXSoundType, allSoundIsMuted);
- _audioManager->muteSfx(true);
+ _audioManager->muteSfx(allSoundIsMuted);
// movie sound type
_mixer->muteSoundType(_mixer->kPlainSoundType, allSoundIsMuted);
}
More information about the Scummvm-git-logs
mailing list