aboutsummaryrefslogtreecommitdiff
path: root/simon/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'simon/sound.cpp')
-rw-r--r--simon/sound.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/simon/sound.cpp b/simon/sound.cpp
index 9276e3a40e..18b84e86a5 100644
--- a/simon/sound.cpp
+++ b/simon/sound.cpp
@@ -450,6 +450,9 @@ void SimonSound::playVoice(uint sound) {
if (!_voice)
return;
+ if (_voice)
+ _mixer->stop(_voice_index);
+
if (_game == GAME_SIMON1CD32)
_voice_index = _voice->playSound(sound, &_voice_handle, FLAG_SIGNED);
else