aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/midiparser_ro.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/midiparser_ro.cpp b/engines/scumm/midiparser_ro.cpp
index b804061206..2d4d5acfad 100644
--- a/engines/scumm/midiparser_ro.cpp
+++ b/engines/scumm/midiparser_ro.cpp
@@ -69,7 +69,7 @@ void MidiParser_RO::parseNextEvent (EventInfo &info) {
if (info.command() == 0xA) {
++_lastMarkerCount;
info.event = 0xF0;
- } else if (info.command() == 0xF) {
+ } else if (info.command() == 0xF && info.event != 0xFF) {
byte delay = *(_position._play_pos++);
info.delta += delay;
if (info.event != 0xF0) {