diff options
author | Filippos Karapetis | 2016-01-14 01:29:11 +0200 |
---|---|---|
committer | Filippos Karapetis | 2016-01-14 23:41:31 +0200 |
commit | 0f45658259db4209cbaddb697e6223d7adc59873 (patch) | |
tree | dae48fc4e4c40433986461d5f455311f5810f33d /engines | |
parent | 4f0985c2de41bb32dc46bbbc3ce920cb9c580311 (diff) | |
download | scummvm-rg350-0f45658259db4209cbaddb697e6223d7adc59873.tar.gz scummvm-rg350-0f45658259db4209cbaddb697e6223d7adc59873.tar.bz2 scummvm-rg350-0f45658259db4209cbaddb697e6223d7adc59873.zip |
LAB: Fix accidental change to code style
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lab/music.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
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); } } |