diff options
-rw-r--r-- | engines/griffon/sound.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/griffon/sound.cpp b/engines/griffon/sound.cpp index e3f2230b43..a8c6c0482d 100644 --- a/engines/griffon/sound.cpp +++ b/engines/griffon/sound.cpp @@ -85,7 +85,12 @@ void GriffonEngine::pauseSoundChannel(int channel) { } void GriffonEngine::haltSoundChannel(int channel) { - _mixer->stopHandle(_handles[channel]); + if (channel == -1) { + for (int i = 0; i < kSoundHandles; i++) + _mixer->stopHandle(_handles[i]); + } else { + _mixer->stopHandle(_handles[channel]); + } } void GriffonEngine::resumeSoundChannel(int channel) { |