ZVISION: Add universe scope of puzzles to reference table.

This commit is contained in:
Marisa-Chan 2013-10-30 07:57:39 +00:00
parent b0f74feb41
commit a8feff10b8

View File

@ -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);