added WeaponInfo

This commit is contained in:
Bob
2009-10-13 20:57:43 +13:00
parent e86b0cdaa0
commit 9af7b09e1d
9 changed files with 152 additions and 58 deletions

View File

@@ -54,7 +54,7 @@ namespace OpenRa.TechTree
.Concat( Lines( "infantry.txt", false ) );
foreach (Tuple<string, string, bool> p in definitions)
objects.Add(p.a, new Item(p.a, p.b, Rules.UnitInfo.Get(p.a), p.c));
objects.Add(p.a, new Item(p.a, p.b, Rules.UnitInfo[p.a], p.c));
}
public bool Build(string key, bool force)