From dee4fd193d690baae5afaf906d7604a9df9155ef Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 16 Oct 2014 21:53:21 -0400 Subject: MADS: Fix stopping digital audio, music, and palette cycling when animation ends --- engines/mads/audio.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/mads/audio.cpp') diff --git a/engines/mads/audio.cpp b/engines/mads/audio.cpp index 9d62c3f615..def2cd6c62 100644 --- a/engines/mads/audio.cpp +++ b/engines/mads/audio.cpp @@ -129,4 +129,8 @@ void AudioPlayer::playSound(int soundIndex, bool loop) { */ } +void AudioPlayer::stop() { + _mixer->stopHandle(_handle); +} + } // End of namespace M4 -- cgit v1.2.3