aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-07-15 05:44:57 +0000
committerTravis Howell2004-07-15 05:44:57 +0000
commit84e77997d3531dcd89c81bf95cae6852f7385765 (patch)
tree6955aabfc46b02a3383e3a3a471095b02136c1d4 /scumm/sound.cpp
parentfc0ee149383c5ab294bf37ef7de40a9478ff61f4 (diff)
downloadscummvm-rg350-84e77997d3531dcd89c81bf95cae6852f7385765.tar.gz
scummvm-rg350-84e77997d3531dcd89c81bf95cae6852f7385765.tar.bz2
scummvm-rg350-84e77997d3531dcd89c81bf95cae6852f7385765.zip
Fix music volume regression in HE games.
svn-id: r14215
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 2be3532c37..aff38e969c 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -801,7 +801,7 @@ void Sound::stopSound(int a) {
// Stop current music
if (_currentMusic)
_vm->_mixer->stopID(_currentMusic);
- else if (_vm->_imuse)
+ else
_vm->_imuse->stopSound(_vm->_imuse->getSoundStatus(-1));
}
}