Skip to content

Commit

Permalink
AGI: fixed typo in music volume settings
Browse files Browse the repository at this point in the history
The typo caused music and sound effects volumes values to be swapped
  • Loading branch information
ZvikaZ authored and bluegr committed Apr 4, 2021
1 parent 48c3fdd commit 3eef29f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/agi/global.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3eef29f

Please sign in to comment.