aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/music.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/sound/music.cpp')
-rw-r--r--engines/sci/sound/music.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/sci/sound/music.cpp b/engines/sci/sound/music.cpp
index c9a7de7b1c..fc1e56fcea 100644
--- a/engines/sci/sound/music.cpp
+++ b/engines/sci/sound/music.cpp
@@ -638,6 +638,14 @@ MusicEntry::~MusicEntry() {
}
void MusicEntry::onTimer() {
+ if (!signal) {
+ if (!signalQueue.empty()) {
+ // no signal set, but signal in queue, set that one
+ signal = signalQueue[0];
+ signalQueue.remove_at(0);
+ }
+ }
+
if (status != kSoundPlaying)
return;