aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/sound.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 7a7a7ff89e..a311dd261a 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -702,11 +702,10 @@ void Sound::stopSound(int a) {
stopCDTimer();
}
- if (_scumm->_features & GF_FMTOWNS) {
+ if (_scumm->_features & GF_FMTOWNS)
_scumm->_mixer->stopID(a);
- } else if (_scumm->_musicEngine) {
+ if (_scumm->_musicEngine)
_scumm->_musicEngine->stopSound(a);
- }
for (i = 0; i < 10; i++)
if (_soundQue2[i] == a)