diff options
author | dhewg | 2011-03-19 15:12:14 +0100 |
---|---|---|
committer | dhewg | 2011-03-19 16:49:17 +0100 |
commit | 6650e69a3068e3b57e74f603a629c38359dbaaae (patch) | |
tree | b3fd15bba1a46ac4c02e98e6d9700273e0cad17a | |
parent | 58f1e2f6effe194fef411264d069552f97d51f8c (diff) | |
download | scummvm-rg350-6650e69a3068e3b57e74f603a629c38359dbaaae.tar.gz scummvm-rg350-6650e69a3068e3b57e74f603a629c38359dbaaae.tar.bz2 scummvm-rg350-6650e69a3068e3b57e74f603a629c38359dbaaae.zip |
TUCKER: Get rid of syncSoundSettings()
And respect global mute settings
-rw-r--r-- | engines/tucker/tucker.cpp | 6 | ||||
-rw-r--r-- | engines/tucker/tucker.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/engines/tucker/tucker.cpp b/engines/tucker/tucker.cpp index 6e44eadc47..d3a6b4162b 100644 --- a/engines/tucker/tucker.cpp +++ b/engines/tucker/tucker.cpp @@ -68,12 +68,6 @@ Common::Error TuckerEngine::run() { return Common::kNoError; } -void TuckerEngine::syncSoundSettings() { - _mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, ConfMan.getInt("sfx_volume")); - _mixer->setVolumeForSoundType(Audio::Mixer::kSpeechSoundType, ConfMan.getInt("speech_volume")); - _mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, ConfMan.getInt("music_volume")); -} - int TuckerEngine::getRandomNumber() { return _rnd.getRandomNumber(0x7FFF); } diff --git a/engines/tucker/tucker.h b/engines/tucker/tucker.h index fd931998e4..532892fd48 100644 --- a/engines/tucker/tucker.h +++ b/engines/tucker/tucker.h @@ -280,7 +280,6 @@ public: virtual Common::Error run(); virtual bool hasFeature(EngineFeature f) const; - virtual void syncSoundSettings(); GUI::Debugger *getDebugger() { return _console; } protected: |