aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordhewg2011-03-19 15:12:14 +0100
committerdhewg2011-03-19 16:49:17 +0100
commit6650e69a3068e3b57e74f603a629c38359dbaaae (patch)
treeb3fd15bba1a46ac4c02e98e6d9700273e0cad17a
parent58f1e2f6effe194fef411264d069552f97d51f8c (diff)
downloadscummvm-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.cpp6
-rw-r--r--engines/tucker/tucker.h1
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: