Fix most of the x/y issues

This commit is contained in:
Paul Chote
2010-04-01 20:57:53 +13:00
committed by Bob
parent f7e2f414c0
commit b8702e494b
20 changed files with 150 additions and 157 deletions

View File

@@ -38,8 +38,8 @@ namespace OpenRA.Traits
{
map = self.World.Map;
blocked = new bool[map.MapSize, map.MapSize];
influence = new Actor[map.MapSize, map.MapSize];
blocked = new bool[map.MapSize.X, map.MapSize.Y];
influence = new Actor[map.MapSize.X, map.MapSize.Y];
self.World.ActorAdded +=
a => { if (a.traits.Contains<Building>())