LAB: Merge all the different scene restoring code after saving/loading

This commit is contained in:
Filippos Karapetis 2016-02-08 00:16:38 +02:00
parent 5e67457553
commit eb97c05ccc
2 changed files with 16 additions and 11 deletions

View file

@ -214,12 +214,6 @@ void LabEngine::updateEvents() {
Common::Error LabEngine::loadGameState(int slot) {
bool result = loadGame(slot);
_curFileName = " ";
_closeDataPtr = nullptr;
_mainDisplay = true;
_followingCrumbs = false;
_event->simulateEvent();
_graphics->_longWinInFront = false;
return (result) ? Common::kNoError : Common::kUserCanceled;
}