From ffe58e058c40de73e6fe45aa87745f3fe9e48cf1 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 13 Oct 2014 10:11:54 -0400 Subject: MADS: Fix playback of digital audio during animation sequences --- engines/mads/animation.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/mads') diff --git a/engines/mads/animation.cpp b/engines/mads/animation.cpp index ace505839c..0807d8e409 100644 --- a/engines/mads/animation.cpp +++ b/engines/mads/animation.cpp @@ -555,6 +555,10 @@ void Animation::update() { 0, 0, INDEFINITE_TIMEOUT, me._msg); assert(me._kernelMsgIndex >= 0); ++_messageCtr; + + // If there's an accompanying sound, also play it + if (me._soundId > 0) + _vm->_audio->playSound(me._soundId); } } -- cgit v1.2.3