aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo
diff options
context:
space:
mode:
authorArnaud Boutonné2010-12-22 17:51:07 +0000
committerArnaud Boutonné2010-12-22 17:51:07 +0000
commit51e9cdb12c2384aac30bcf9f2c8a80f35bbfe3dd (patch)
treec6777e9a74a53c3fcffb902352f01a468aa525db /engines/hugo
parenta79ccfed55b881c30de598b7fadd479860b15adf (diff)
downloadscummvm-rg350-51e9cdb12c2384aac30bcf9f2c8a80f35bbfe3dd.tar.gz
scummvm-rg350-51e9cdb12c2384aac30bcf9f2c8a80f35bbfe3dd.tar.bz2
scummvm-rg350-51e9cdb12c2384aac30bcf9f2c8a80f35bbfe3dd.zip
HUGO: Fix little bug in sound player
Mute/unmute sound and music at the same time svn-id: r55013
Diffstat (limited to 'engines/hugo')
-rw-r--r--engines/hugo/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hugo/sound.cpp b/engines/hugo/sound.cpp
index 136e0feb9e..51c7271761 100644
--- a/engines/hugo/sound.cpp
+++ b/engines/hugo/sound.cpp
@@ -257,7 +257,7 @@ void SoundHandler::toggleMusic() {
// Turn music on and off
_config.musicFl = !_config.musicFl;
- _midiPlayer->pause(_config.musicFl);
+ _midiPlayer->pause(!_config.musicFl);
}
void SoundHandler::toggleSound() {