diff options
| author | dhewg | 2011-03-19 15:09:48 +0100 | 
|---|---|---|
| committer | dhewg | 2011-03-19 16:49:16 +0100 | 
| commit | 606ac754cb7a15ef9e736eb6aacc710ccd2cc834 (patch) | |
| tree | 627f0329397bba7b2cc0156e0c21ff113ed49408 /engines/sword2/sword2.cpp | |
| parent | 02956eaf0b220fb7395ee82971c26cb3e4502d8d (diff) | |
| download | scummvm-rg350-606ac754cb7a15ef9e736eb6aacc710ccd2cc834.tar.gz scummvm-rg350-606ac754cb7a15ef9e736eb6aacc710ccd2cc834.tar.bz2 scummvm-rg350-606ac754cb7a15ef9e736eb6aacc710ccd2cc834.zip | |
SWORD2: Cleanup syncSoundSettings()
Diffstat (limited to 'engines/sword2/sword2.cpp')
| -rw-r--r-- | engines/sword2/sword2.cpp | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/engines/sword2/sword2.cpp b/engines/sword2/sword2.cpp index 9c67fcdf25..7ad021b3a5 100644 --- a/engines/sword2/sword2.cpp +++ b/engines/sword2/sword2.cpp @@ -319,11 +319,10 @@ void Sword2Engine::registerDefaultSettings() {  }  void Sword2Engine::syncSoundSettings() { +	Engine::syncSoundSettings(); +  	bool mute = ConfMan.getBool("mute"); -	_mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, mute ? 0 : ConfMan.getInt("music_volume")); -	_mixer->setVolumeForSoundType(Audio::Mixer::kSpeechSoundType, mute ? 0 : ConfMan.getInt("speech_volume")); -	_mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, mute ? 0 : ConfMan.getInt("sfx_volume"));  	setSubtitles(ConfMan.getBool("subtitles"));  	// Our own settings dialog can mute the music, speech and sound effects | 
