aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2008-04-17 06:33:03 +0000
committerTravis Howell2008-04-17 06:33:03 +0000
commit84ce12cd1e82fdddb88c1369878203a99bd9f63f (patch)
treecc265a9310bce87112d2fc07b06765de35db7cae /engines
parent45d7a68902c2aefe12338d2fa693858593d0430e (diff)
downloadscummvm-rg350-84ce12cd1e82fdddb88c1369878203a99bd9f63f.tar.gz
scummvm-rg350-84ce12cd1e82fdddb88c1369878203a99bd9f63f.tar.bz2
scummvm-rg350-84ce12cd1e82fdddb88c1369878203a99bd9f63f.zip
Fix bug #1932150 - SIMON1: Sousaphone Bug.
svn-id: r31527
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/sound.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/agos/sound.cpp b/engines/agos/sound.cpp
index 2da81d2d28..c456c92e60 100644
--- a/engines/agos/sound.cpp
+++ b/engines/agos/sound.cpp
@@ -616,6 +616,7 @@ void Sound::playEffects(uint sound) {
if (_effectsPaused)
return;
+ _mixer->stopHandle(_effectsHandle);
_effects->playSound(sound, Audio::Mixer::kSFXSoundType, &_effectsHandle, (_vm->getGameId() == GID_SIMON1CD32) ? 0 : Audio::Mixer::FLAG_UNSIGNED);
}