diff options
author | Paul Gilbert | 2014-05-01 22:42:47 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-05-01 22:42:47 -0400 |
commit | e258419a3e21f274839fdd39796bb9a75652ef99 (patch) | |
tree | 727a2f30dd02f7ed076d8aa6cea5a4a7190ac0ba /engines | |
parent | b5949010a61e3d12f22ea762ed8d09cc1a79b850 (diff) | |
download | scummvm-rg350-e258419a3e21f274839fdd39796bb9a75652ef99.tar.gz scummvm-rg350-e258419a3e21f274839fdd39796bb9a75652ef99.tar.bz2 scummvm-rg350-e258419a3e21f274839fdd39796bb9a75652ef99.zip |
MADS: Add some further savegame loading logic
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mads/game.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/mads/game.cpp b/engines/mads/game.cpp index 4b8805df3e..36b0c315d7 100644 --- a/engines/mads/game.cpp +++ b/engines/mads/game.cpp @@ -466,8 +466,11 @@ void Game::synchronize(Common::Serializer &s, bool phase1) { _screenObjects.synchronize(s); if (s.isLoading()) { + _scene._userInterface._selectedInvIndex = -1; + _currentSectionNumber = -2; + _scene._currentSceneId = -2; _sectionNumber = _scene._nextSceneId / 100; - _currentSectionNumber = _sectionNumber; + _scene._frameStartTime = _vm->_events->getFrameCounter(); } } else { // Load scene specific data for the loaded scene |