[Scummvm-git-logs] scummvm master -> 8635460dfd5540c7f2423f453dfd76d5d27ed78f

aquadran noreply at scummvm.org
Tue Sep 16 21:37:41 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
8635460dfd WINTERMUTE: Fixed missing break


Commit: 8635460dfd5540c7f2423f453dfd76d5d27ed78f
    https://github.com/scummvm/scummvm/commit/8635460dfd5540c7f2423f453dfd76d5d27ed78f
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2025-09-16T23:37:35+02:00

Commit Message:
WINTERMUTE: Fixed missing break

Changed paths:
    engines/wintermute/base/sound/base_sound_manager.cpp


diff --git a/engines/wintermute/base/sound/base_sound_manager.cpp b/engines/wintermute/base/sound/base_sound_manager.cpp
index 12a76e9c21b..7d3265363bd 100644
--- a/engines/wintermute/base/sound/base_sound_manager.cpp
+++ b/engines/wintermute/base/sound/base_sound_manager.cpp
@@ -218,8 +218,10 @@ byte BaseSoundMgr::getVolumePercent(TSoundType type) {
 	switch (type) {
 	case TSoundType::SOUND_SFX:
 		volume = g_system->getMixer()->getVolumeForSoundType(Audio::Mixer::kSFXSoundType);
+		break;
 	case TSoundType::SOUND_SPEECH:
 		volume = g_system->getMixer()->getVolumeForSoundType(Audio::Mixer::kSpeechSoundType);
+		break;
 	case TSoundType::SOUND_MUSIC:
 		volume = g_system->getMixer()->getVolumeForSoundType(Audio::Mixer::kMusicSoundType);
 		break;




More information about the Scummvm-git-logs mailing list