aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision
diff options
context:
space:
mode:
authorMarisa-Chan2013-10-30 07:57:39 +0000
committerMarisa-Chan2013-10-30 07:57:39 +0000
commita8feff10b883d686b37a709c483129602187c155 (patch)
tree416d3a1bcfcab1ea661c729f94dd42407f9e40f1 /engines/zvision
parentb0f74feb41dfd732480a49dd233b59f33a43be88 (diff)
downloadscummvm-rg350-a8feff10b883d686b37a709c483129602187c155.tar.gz
scummvm-rg350-a8feff10b883d686b37a709c483129602187c155.tar.bz2
scummvm-rg350-a8feff10b883d686b37a709c483129602187c155.zip
ZVISION: Add universe scope of puzzles to reference table.
Diffstat (limited to 'engines/zvision')
-rw-r--r--engines/zvision/script_manager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/zvision/script_manager.cpp b/engines/zvision/script_manager.cpp
index 111865302a..fe8ec897b9 100644
--- a/engines/zvision/script_manager.cpp
+++ b/engines/zvision/script_manager.cpp
@@ -446,6 +446,8 @@ void ScriptManager::do_changeLocation() {
cleanScriptScope(room);
cleanScriptScope(world);
+ addPuzzlesToReferenceTable(universe);
+
// Parse into puzzles and controls
Common::String fileName = Common::String::format("%c%c%c%c.scr", _nextLocation.world, _nextLocation.room, _nextLocation.node, _nextLocation.view);
parseScrFile(fileName, nodeview);