LAB: Merge all the different scene restoring code after saving/loading
This commit is contained in:
parent
5e67457553
commit
eb97c05ccc
2 changed files with 16 additions and 11 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue