Minor cosmetic cleanups for Harvester and BasePathSearch

This commit is contained in:
reaperrr
2015-07-12 23:22:00 +02:00
parent ba2181e523
commit 0ef5312931
2 changed files with 11 additions and 8 deletions

View File

@@ -105,7 +105,7 @@ namespace OpenRA.Mods.Common.Pathfinder
public abstract IEnumerable<Pair<CPos, int>> Considered { get; }
public Player Owner { get { return this.Graph.Actor.Owner; } }
public Player Owner { get { return Graph.Actor.Owner; } }
public int MaxCost { get; protected set; }
public bool Debug { get; set; }
string id;
@@ -184,7 +184,7 @@ namespace OpenRA.Mods.Common.Pathfinder
public IPathSearch FromPoint(CPos from)
{
if (this.Graph.World.Map.Contains(from))
if (Graph.World.Map.Contains(from))
AddInitialCell(from);
return this;