Skip to content

Commit

Permalink
ZVISION: Change _currentLocation to new location before execute first…
Browse files Browse the repository at this point in the history
… scripts.
  • Loading branch information
Marisa-Chan committed Nov 15, 2013
1 parent 5fd15be commit e3b9f84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions engines/zvision/script_manager.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit e3b9f84

Please sign in to comment.