diff options
author | Travis Howell | 2009-08-15 10:09:32 +0000 |
---|---|---|
committer | Travis Howell | 2009-08-15 10:09:32 +0000 |
commit | 0630c207220cfcbb579115f163ed13babef93908 (patch) | |
tree | ff4982996f98e4ed05bcf266f99a0ab61fb6d68d | |
parent | b1cc1b05de4bef050d69ce6e5016cde1c04e7c53 (diff) | |
download | scummvm-rg350-0630c207220cfcbb579115f163ed13babef93908.tar.gz scummvm-rg350-0630c207220cfcbb579115f163ed13babef93908.tar.bz2 scummvm-rg350-0630c207220cfcbb579115f163ed13babef93908.zip |
Fix regression, that caused multiple sounds in Simon the Sorcerer 2 to be cut off.
svn-id: r43400
-rw-r--r-- | engines/agos/sound.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/agos/sound.cpp b/engines/agos/sound.cpp index cdf28e98eb..3008442ed2 100644 --- a/engines/agos/sound.cpp +++ b/engines/agos/sound.cpp @@ -633,7 +633,8 @@ void Sound::playEffects(uint sound) { if (_effectsPaused) return; - _mixer->stopHandle(_effectsHandle); + if (_vm->getGameType() == GType_SIMON1) + _mixer->stopHandle(_effectsHandle); _effects->playSound(sound, Audio::Mixer::kSFXSoundType, &_effectsHandle, (_vm->getGameId() == GID_SIMON1CD32) ? 0 : Audio::Mixer::FLAG_UNSIGNED); } |