aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/zvision/save_manager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/zvision/save_manager.cpp b/engines/zvision/save_manager.cpp
index e09d31557a..70de9050e8 100644
--- a/engines/zvision/save_manager.cpp
+++ b/engines/zvision/save_manager.cpp
@@ -144,12 +144,12 @@ Common::Error SaveManager::loadGame(uint slot) {
uint32 offset = (char)saveFile->readUint32LE();
ScriptManager *scriptManager = _engine->getScriptManager();
- // Load the room
- scriptManager->changeLocation(world, room, node, view, offset);
-
// Update the state table values
scriptManager->deserializeStateTable(saveFile);
+ // Load the room
+ scriptManager->changeLocation(world, room, node, view, offset);
+
// Update the controls
scriptManager->deserializeControls(saveFile);