From 0f45658259db4209cbaddb697e6223d7adc59873 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 14 Jan 2016 01:29:11 +0200 Subject: LAB: Fix accidental change to code style --- engines/lab/music.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'engines/lab') diff --git a/engines/lab/music.cpp b/engines/lab/music.cpp index 396aacf103..0a23589079 100644 --- a/engines/lab/music.cpp +++ b/engines/lab/music.cpp @@ -99,16 +99,14 @@ void Music::loadSoundEffect(const Common::String filename, bool loop, bool waitT uint16 sampleRate = file->readUint16LE(); file->skip(2); playSoundEffect(sampleRate, soundSize, loop, file); - } - else if (soundTag == 65535) { + } else if (soundTag == 65535) { if (waitTillFinished) { while (isSoundEffectActive()) { _vm->updateEvents(); _vm->waitTOF(); } } - } - else + } else file->skip(soundSize); } } -- cgit v1.2.3