Replace CPos.CenterPosition -> Map.CenterOfCell.
This commit is contained in:
@@ -41,7 +41,7 @@ namespace OpenRA.Mods.RA
|
||||
|
||||
public IEnumerable<WPos> TargetablePositions(Actor self)
|
||||
{
|
||||
return building.OccupiedCells().Select(c => c.First.CenterPosition);
|
||||
return building.OccupiedCells().Select(c => self.World.Map.CenterOfCell(c.First));
|
||||
}
|
||||
|
||||
public bool RequiresForceFire { get { return info.RequiresForceFire; } }
|
||||
|
||||
Reference in New Issue
Block a user