From fe11e5431c2003358df4d4ab522a38beded0cc08 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Wed, 18 Nov 2009 18:50:23 +1300 Subject: [PATCH] spurious init to defaults --- OpenRa.Game/BuildingInfluenceMap.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/OpenRa.Game/BuildingInfluenceMap.cs b/OpenRa.Game/BuildingInfluenceMap.cs index 80bbf607a8..3bf091472d 100644 --- a/OpenRa.Game/BuildingInfluenceMap.cs +++ b/OpenRa.Game/BuildingInfluenceMap.cs @@ -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()) ChangeInfluence(a, a.traits.Get(), true); };