diff options
-rw-r--r-- | graphics/video/coktel_decoder.cpp | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/graphics/video/coktel_decoder.cpp b/graphics/video/coktel_decoder.cpp index ca72f87808..15899fb13d 100644 --- a/graphics/video/coktel_decoder.cpp +++ b/graphics/video/coktel_decoder.cpp @@ -1057,20 +1057,18 @@ void IMDDecoder::processFrame() { } // Audio - if (_soundStage != kSoundNone) { - if (cmd == kCommandNextSound) { + if (cmd == kCommandNextSound) { - nextSoundSlice(hasNextCmd); - cmd = _stream->readUint16LE(); + nextSoundSlice(hasNextCmd); + cmd = _stream->readUint16LE(); - } else if (cmd == kCommandStartSound) { + } else if (cmd == kCommandStartSound) { - startSound = initialSoundSlice(hasNextCmd); - cmd = _stream->readUint16LE(); + startSound = initialSoundSlice(hasNextCmd); + cmd = _stream->readUint16LE(); - } else - emptySoundSlice(hasNextCmd); - } + } else + emptySoundSlice(hasNextCmd); // Set palette if (cmd == kCommandPalette) { |