aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-20 17:28:10 +0000
committerMartin Kiewitz2010-07-20 17:28:10 +0000
commitf771a2bbc78b2119d9666c112e6f49d7f13e2e3a (patch)
treead55df4e7c14c598b13bfb9b9541475b5c3913d9 /engines/sci/sound
parent14c2fb2f08df8cb8e600734400ffc0c750cbcf7d (diff)
downloadscummvm-rg350-f771a2bbc78b2119d9666c112e6f49d7f13e2e3a.tar.gz
scummvm-rg350-f771a2bbc78b2119d9666c112e6f49d7f13e2e3a.tar.bz2
scummvm-rg350-f771a2bbc78b2119d9666c112e6f49d7f13e2e3a.zip
SCI: fix regression of r50463
also check delta, because _play_tick does not include delta at that point - fixing sq1 ship takeoff svn-id: r51067
Diffstat (limited to 'engines/sci/sound')
-rw-r--r--engines/sci/sound/midiparser_sci.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/midiparser_sci.cpp b/engines/sci/sound/midiparser_sci.cpp
index 1ae0777113..e58fa5120b 100644
--- a/engines/sci/sound/midiparser_sci.cpp
+++ b/engines/sci/sound/midiparser_sci.cpp
@@ -475,7 +475,7 @@ void MidiParser_SCI::parseNextEvent(EventInfo &info) {
// on tick 0. Signal isn't set at that point by sierra sci and it would cause the castle daventry text to
// get immediately removed, so we currently filter it.
// Sierra SCI ignores them as well at that time
- if (_position._play_tick) {
+ if ((_position._play_tick) || (info.delta)) {
_signalSet = true;
_signalToSet = info.basic.param1;
}