diff options
author | Eugene Sandulenko | 2014-04-26 13:13:07 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-04-26 13:13:07 +0300 |
commit | cb565e9eafc34b26d160dd4c5c4cf64e05872498 (patch) | |
tree | 39844ba1b05e30c471206df201989bd01dd530b8 /engines | |
parent | 04ca386e6808e66d97f60d66c45954699ec8ef26 (diff) | |
download | scummvm-rg350-cb565e9eafc34b26d160dd4c5c4cf64e05872498.tar.gz scummvm-rg350-cb565e9eafc34b26d160dd4c5c4cf64e05872498.tar.bz2 scummvm-rg350-cb565e9eafc34b26d160dd4c5c4cf64e05872498.zip |
FULLPIPE: Implement FullpipeEngine::toggleMute()
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/sound.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp index aa91f25087..03e350bf85 100644 --- a/engines/fullpipe/sound.cpp +++ b/engines/fullpipe/sound.cpp @@ -158,7 +158,11 @@ void FullpipeEngine::stopAllSounds() { } void FullpipeEngine::toggleMute() { - warning("STUB: FullpipeEngine::toggleMute()"); + if (g_fp->_soundEnabled) { + g_fp->_sfxVolume = g_fp->_sfxVolume != -10000 ? -10000 : 0; + + updateSoundVolume(); + } } void FullpipeEngine::playSound(int id, int flag) { |