mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
LAB: Remove superfluous sound effect stopping code
This commit is contained in:
parent
d3369808f5
commit
0b9126f774
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user