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

@@ -61,7 +61,7 @@ namespace OpenRA.Mods.RA.Move
public Move(Target target, int range)
{
this.getPath = (self,mobile) => self.World.WorldActor.Trait<PathFinder>().FindUnitPathToRange(
mobile.toCell, target.CenterLocation.ToCPos(),
mobile.toCell, target.CenterPosition.ToCPos(),
range, self);
this.destination = null;
this.nearEnough = range;