LAB: Simplify file handling code
This commit is contained in:
parent
9ba30835a2
commit
3ac02c1196
4 changed files with 22 additions and 46 deletions
|
@ -171,8 +171,6 @@ static bool loadMapData() {
|
|||
}
|
||||
|
||||
Common::File *mapFile = g_lab->_resource->openDataFile("Lab:Maps", MKTAG('M', 'A', 'P', '0'));
|
||||
if (!mapFile)
|
||||
error("Corrupt map file");
|
||||
g_lab->_music->updateMusic();
|
||||
if (!g_lab->_music->_doNotFilestopSoundEffect)
|
||||
g_lab->_music->stopSoundEffect();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue