[Scummvm-git-logs] scummvm branch-2-6 -> ea9e900bfe27217720184e5c25b9f2a84ad8ad95
antoniou79
noreply at scummvm.org
Tue Aug 2 12:48:31 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:
ea9e900bfe TOON: Fix music, sfx muted by default when adding the game
Commit: ea9e900bfe27217720184e5c25b9f2a84ad8ad95
https://github.com/scummvm/scummvm/commit/ea9e900bfe27217720184e5c25b9f2a84ad8ad95
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2022-08-02T15:48:17+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