remove dead GetInheritanceChain in ActorInfo

This commit is contained in:
Chris Forbes
2011-11-06 11:09:30 +13:00
parent 564fdd650d
commit 9b5c7c2379

View File

@@ -38,15 +38,6 @@ namespace OpenRA
}
}
static IEnumerable<MiniYaml> GetInheritanceChain(MiniYaml node, Dictionary<string, MiniYaml> allUnits)
{
while (node != null)
{
yield return node;
node = GetParent(node, allUnits);
}
}
static MiniYaml GetParent( MiniYaml node, Dictionary<string, MiniYaml> allUnits )
{
MiniYaml inherits;