KYRA: Respect mute setting on engine startup.

svn-id: r51098
This commit is contained in:
Johannes Schickel 2010-07-21 19:20:10 +00:00
parent 472dbc9f7d
commit e95ef4f5f8

View File

@ -100,9 +100,7 @@ void KyraEngine_v1::pauseEngineIntern(bool pause) {
Common::Error KyraEngine_v1::init() {
// Setup mixer
_mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, ConfMan.getInt("sfx_volume"));
_mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, ConfMan.getInt("music_volume"));
_mixer->setVolumeForSoundType(Audio::Mixer::kSpeechSoundType, ConfMan.getInt("speech_volume"));
syncSoundSettings();
if (!_flags.useDigSound) {
// We prefer AdLib over MIDI in Kyra 1, since it offers MT-32 support only, most users don't have a real