[Scummvm-cvs-logs] scummvm master -> ffe58e058c40de73e6fe45aa87745f3fe9e48cf1
dreammaster
dreammaster at scummvm.org
Mon Oct 13 16:12:31 CEST 2014
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
ffe58e058c MADS: Fix playback of digital audio during animation sequences
Commit: ffe58e058c40de73e6fe45aa87745f3fe9e48cf1
https://github.com/scummvm/scummvm/commit/ffe58e058c40de73e6fe45aa87745f3fe9e48cf1
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2014-10-13T10:11:54-04:00
Commit Message:
MADS: Fix playback of digital audio during animation sequences
Changed paths:
engines/mads/animation.cpp
diff --git a/engines/mads/animation.cpp b/engines/mads/animation.cpp
index ace5058..0807d8e 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);
}
}
More information about the Scummvm-git-logs
mailing list