CenterLocation.ToCPos() -> CenterPosition.ToCPos().

This commit is contained in:
Paul Chote
2013-07-06 19:32:37 +12:00
parent e741e83fd4
commit 9eaeeffae9
18 changed files with 19 additions and 19 deletions

View File

@@ -177,7 +177,7 @@ namespace OpenRA.Traits
: new CPos[] {};
if (cells.Length == 0)
cells = new CPos[] { target.CenterLocation.ToCPos() };
cells = new CPos[] { target.CenterPosition.ToCPos() };
return Util.ExpandFootprint(cells, true);
}

View File

@@ -202,7 +202,7 @@ namespace OpenRA.Traits
return cells.Select(c => c.First);
}
return new[] { a.CenterLocation.ToCPos() };
return new[] { a.CenterPosition.ToCPos() };
}
public void Explore(World world, CPos center, int range)