diff options
author | Filippos Karapetis | 2015-12-26 12:45:48 +0200 |
---|---|---|
committer | Filippos Karapetis | 2015-12-26 12:45:48 +0200 |
commit | d1b5d41005ea89e20ae449e6ea815b1dfb5997e6 (patch) | |
tree | e64a1e3613cd74d1f4c5daa223fb4ab9b55d9d0f /engines/lab/anim.cpp | |
parent | e231c6753bdc9ccdcae5497ef55af9afcd74edca (diff) | |
download | scummvm-rg350-d1b5d41005ea89e20ae449e6ea815b1dfb5997e6.tar.gz scummvm-rg350-d1b5d41005ea89e20ae449e6ea815b1dfb5997e6.tar.bz2 scummvm-rg350-d1b5d41005ea89e20ae449e6ea815b1dfb5997e6.zip |
LAB: Clean up sound effect looping, starting and stopping code
Diffstat (limited to 'engines/lab/anim.cpp')
-rw-r--r-- | engines/lab/anim.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/lab/anim.cpp b/engines/lab/anim.cpp index eb825fb4c0..92ca49b95d 100644 --- a/engines/lab/anim.cpp +++ b/engines/lab/anim.cpp @@ -217,7 +217,9 @@ void Anim::diffNextFrame(bool onlyDiffData) { _sampleSpeed = _diffFile->readUint16LE(); _diffFile->skip(2); - _vm->_music->playSoundEffect(_sampleSpeed, _size, _diffFile); + // Sound effects embedded in animations are started here. These are + // usually animation-specific, like door opening sounds, and are not looped + _vm->_music->playSoundEffect(_sampleSpeed, _size, false, _diffFile); break; case 65535: |