spurious init to defaults

This commit is contained in:
Chris Forbes
2009-11-18 18:50:23 +13:00
parent c1b26009da
commit fe11e5431c

View File

@@ -18,10 +18,6 @@ namespace OpenRa.Game
public BuildingInfluenceMap()
{
for (int j = 0; j < 128; j++)
for (int i = 0; i < 128; i++)
influence[i, j] = null;
Game.world.ActorAdded +=
a => { if (a.traits.Contains<Building>())
ChangeInfluence(a, a.traits.Get<Building>(), true); };