Merge pull request #11882 from pchote/remove-astar-overlay

Remove legacy A* visualisation.
This commit is contained in:
reaperrr
2016-08-27 18:37:23 +02:00
committed by GitHub
13 changed files with 12 additions and 152 deletions

View File

@@ -338,6 +338,12 @@ namespace OpenRA.Mods.Common.UtilityCommands
}
}
if (engineVersion < 20160826 && depth == 0)
{
// Removed debug visualization
node.Value.Nodes.RemoveAll(n => n.Key == "PathfinderDebugOverlay");
}
UpgradeActorRules(modData, engineVersion, ref node.Value.Nodes, node, depth + 1);
}