diff options
author | Filippos Karapetis | 2008-12-19 12:03:22 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-12-19 12:03:22 +0000 |
commit | 0410d6dfaef068a57462cb241f6f3a96fde1cc4b (patch) | |
tree | 3b3aa78e195771a044432ae669bcdeb38d8e5613 /engines/saga/interface.cpp | |
parent | 2911aa04c18654e32e985217f371eba74dfedd82 (diff) | |
download | scummvm-rg350-0410d6dfaef068a57462cb241f6f3a96fde1cc4b.tar.gz scummvm-rg350-0410d6dfaef068a57462cb241f6f3a96fde1cc4b.tar.bz2 scummvm-rg350-0410d6dfaef068a57462cb241f6f3a96fde1cc4b.zip |
Removed the hasKey() hackery of my previous commit and used ConfMan.registerDefault() instead. Changed sound_volume back to sfx_volume, which got changed with the GSoC merge and was the actual cause that the sound effects were off by default
svn-id: r35437
Diffstat (limited to 'engines/saga/interface.cpp')
-rw-r--r-- | engines/saga/interface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp index 43c4115cb0..24fd15594d 100644 --- a/engines/saga/interface.cpp +++ b/engines/saga/interface.cpp @@ -1637,7 +1637,7 @@ void Interface::setOption(PanelButton *panelButton) { case kTextSound: _vm->_soundVolume = _vm->_soundVolume + 25; if (_vm->_soundVolume > 255) _vm->_soundVolume = 0; - ConfMan.setInt("sound_volume", _vm->_soundVolume); + ConfMan.setInt("sfx_volume", _vm->_soundVolume); _vm->_sound->setVolume(); break; case kTextVoices: |