[Scummvm-git-logs] scummvm master -> 3eef29f2f45652e00ac914bc666ca91979603a85

bluegr bluegr at gmail.com
Sun Apr 4 20:14:18 UTC 2021


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:
3eef29f2f4 AGI: fixed typo in music volume settings


Commit: 3eef29f2f45652e00ac914bc666ca91979603a85
    https://github.com/scummvm/scummvm/commit/3eef29f2f45652e00ac914bc666ca91979603a85
Author: Zvika Haramaty (haramaty.zvika at gmail.com)
Date: 2021-04-04T23:14:15+03:00

Commit Message:
AGI: fixed typo in music volume settings

The typo caused music and sound effects volumes values to be swapped

Changed paths:
    engines/agi/global.cpp


diff --git a/engines/agi/global.cpp b/engines/agi/global.cpp
index a42ab04fb2..46f50bc738 100644
--- a/engines/agi/global.cpp
+++ b/engines/agi/global.cpp
@@ -154,8 +154,8 @@ void AgiEngine::setVolumeViaSystemSetting() {
 	}
 
 	// Now actually set it
-	_mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, scummVMVolumeMusic);
-	_mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, scummVMVolumeSfx);
+	_mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, scummVMVolumeSfx);
+	_mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, scummVMVolumeMusic);
 
 	// Take lowest volume to the scripts
 	if (scummVMVolumeMusic < scummVMVolumeSfx) {




More information about the Scummvm-git-logs mailing list