LAB: Simulate events by setting an unused key

This commit is contained in:
Filippos Karapetis 2015-12-28 01:58:17 +02:00
parent c9bda09bc0
commit f6e42a7282
4 changed files with 11 additions and 4 deletions

View file

@ -249,7 +249,8 @@ Common::Error LabEngine::loadGameState(int slot) {
_closeDataPtr = nullptr;
_mainDisplay = true;
_followingCrumbs = false;
_event->simulateLeftClick();
_event->simulateEvent();
_graphics->_longWinInFront = false;
return (result) ? Common::kNoError : Common::kUserCanceled;
}