aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/game.cpp')
-rw-r--r--engines/mads/game.cpp5
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