aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision')
-rw-r--r--engines/zvision/script_manager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/zvision/script_manager.cpp b/engines/zvision/script_manager.cpp
index 861f0e47dc..b121eaa6a7 100644
--- a/engines/zvision/script_manager.cpp
+++ b/engines/zvision/script_manager.cpp
@@ -523,11 +523,11 @@ void ScriptManager::do_changeLocation() {
// Change the background position
_engine->getRenderManager()->setBackgroundPosition(_nextLocation.offset);
- execScope(room);
- execScope(nodeview);
-
// Update _currentLocation
_currentLocation = _nextLocation;
+
+ execScope(room);
+ execScope(nodeview);
}
void ScriptManager::serializeStateTable(Common::WriteStream *stream) {