From a8feff10b883d686b37a709c483129602187c155 Mon Sep 17 00:00:00 2001 From: Marisa-Chan Date: Wed, 30 Oct 2013 07:57:39 +0000 Subject: ZVISION: Add universe scope of puzzles to reference table. --- engines/zvision/script_manager.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/zvision') 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); -- cgit v1.2.3