aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/animation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/animation.cpp')
-rw-r--r--engines/mads/animation.cpp4
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);
}
}