diff options
author | Filippos Karapetis | 2015-12-26 12:42:45 +0200 |
---|---|---|
committer | Filippos Karapetis | 2015-12-26 12:42:45 +0200 |
commit | 0b9126f7749a31541d491dc2e1f8af401766788e (patch) | |
tree | 03277c6ac11c0b32cb37059ca199f87b488bd5c5 /engines/lab | |
parent | d3369808f5c66faf19efbb14c2bada5d24df0c4e (diff) | |
download | scummvm-rg350-0b9126f7749a31541d491dc2e1f8af401766788e.tar.gz scummvm-rg350-0b9126f7749a31541d491dc2e1f8af401766788e.tar.bz2 scummvm-rg350-0b9126f7749a31541d491dc2e1f8af401766788e.zip |
LAB: Remove superfluous sound effect stopping code
Diffstat (limited to 'engines/lab')
-rw-r--r-- | engines/lab/dispman.cpp | 4 | ||||
-rw-r--r-- | engines/lab/map.cpp | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/engines/lab/dispman.cpp b/engines/lab/dispman.cpp index f41975b1b6..4f0f2b5b97 100644 --- a/engines/lab/dispman.cpp +++ b/engines/lab/dispman.cpp @@ -88,10 +88,6 @@ void DisplayMan::readPict(const Common::String filename, bool playOnce, bool onl _vm->_anim->stopDiff(); loadPict(filename); _vm->updateMusicAndEvents(); - - if (!_vm->_music->_loopSoundEffect) - _vm->_music->stopSoundEffect(); - _vm->_anim->setOutputBuffer(memoryBuffer); _vm->_anim->readDiff(_curBitmap, playOnce, onlyDiffData); } diff --git a/engines/lab/map.cpp b/engines/lab/map.cpp index 21a0830913..7d1645f4fa 100644 --- a/engines/lab/map.cpp +++ b/engines/lab/map.cpp @@ -83,8 +83,6 @@ void LabEngine::loadMapData() { Common::File *mapFile = _resource->openDataFile("Lab:Maps", MKTAG('M', 'A', 'P', '0')); updateMusicAndEvents(); - if (!_music->_loopSoundEffect) - _music->stopSoundEffect(); _maxRooms = mapFile->readUint16LE(); _maps = new MapData[_maxRooms + 1]; // will be freed when the user exits the map |