aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision
diff options
context:
space:
mode:
authorMarisa-Chan2013-11-15 18:15:12 +0000
committerMarisa-Chan2013-11-15 18:15:12 +0000
commite3b9f84d8179a69be011f7351fb50635f854bf73 (patch)
tree16773f034f370bde5aaebb6f08262b15044da1fb /engines/zvision
parent5fd15be0a2810c7c18dca982685c118ee83349e7 (diff)
downloadscummvm-rg350-e3b9f84d8179a69be011f7351fb50635f854bf73.tar.gz
scummvm-rg350-e3b9f84d8179a69be011f7351fb50635f854bf73.tar.bz2
scummvm-rg350-e3b9f84d8179a69be011f7351fb50635f854bf73.zip
ZVISION: Change _currentLocation to new location before execute first scripts.
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) {