diff options
| author | Travis Howell | 2005-01-22 01:47:07 +0000 |
|---|---|---|
| committer | Travis Howell | 2005-01-22 01:47:07 +0000 |
| commit | 3b637456aad81702d8a61b7488e3d43c5d9532ea (patch) | |
| tree | 272a8d7e652bc92c1e758c1fd3893e6ef5d56e40 | |
| parent | 1942d19d07d2b817222d66bbcd092857220d4cd3 (diff) | |
| download | scummvm-rg350-3b637456aad81702d8a61b7488e3d43c5d9532ea.tar.gz scummvm-rg350-3b637456aad81702d8a61b7488e3d43c5d9532ea.tar.bz2 scummvm-rg350-3b637456aad81702d8a61b7488e3d43c5d9532ea.zip | |
Set SFX volume correctly.
svn-id: r16611
| -rw-r--r-- | simon/simon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index e54ad83e19..cebe5b2f8f 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -665,7 +665,7 @@ int SimonEngine::init(GameDetector &detector) { if (!_mixer->isReady()) warning("Sound initialization failed. " "Features of the game that depend on sound synchronization will most likely break"); - set_volume(ConfMan.getInt("sfx_volume")); + _mixer->setVolumeForSoundType(SoundMixer::kSFXAudioDataType, ConfMan.getInt("sfx_volume")); _mixer->setVolumeForSoundType(SoundMixer::kMusicAudioDataType, ConfMan.getInt("music_volume")); _system->beginGFXTransaction(); |
