diff options
author | Marisa-Chan | 2013-11-15 18:15:12 +0000 |
---|---|---|
committer | Marisa-Chan | 2013-11-15 18:15:12 +0000 |
commit | e3b9f84d8179a69be011f7351fb50635f854bf73 (patch) | |
tree | 16773f034f370bde5aaebb6f08262b15044da1fb /engines/zvision | |
parent | 5fd15be0a2810c7c18dca982685c118ee83349e7 (diff) | |
download | scummvm-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.cpp | 6 |
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) { |