diff options
author | Paul Gilbert | 2014-10-13 10:11:54 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-10-13 10:11:54 -0400 |
commit | ffe58e058c40de73e6fe45aa87745f3fe9e48cf1 (patch) | |
tree | 5b55ab95227a4962dc71e7e52610a637cb0278d1 /engines/mads | |
parent | fc2a579f2e44879217b9d16d264eaafeea680de4 (diff) | |
download | scummvm-rg350-ffe58e058c40de73e6fe45aa87745f3fe9e48cf1.tar.gz scummvm-rg350-ffe58e058c40de73e6fe45aa87745f3fe9e48cf1.tar.bz2 scummvm-rg350-ffe58e058c40de73e6fe45aa87745f3fe9e48cf1.zip |
MADS: Fix playback of digital audio during animation sequences
Diffstat (limited to 'engines/mads')
-rw-r--r-- | engines/mads/animation.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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); } } |