Use the rendered resource state for the harvest order targeter.

This commit is contained in:
Paul Chote
2013-07-24 20:34:36 +12:00
parent ff4a600d94
commit a09bcbd47a
2 changed files with 2 additions and 1 deletions

View File

@@ -213,6 +213,7 @@ namespace OpenRA.Traits
}
public ResourceType GetResource(CPos p) { return content[p.X, p.Y].Type; }
public ResourceType GetRenderedResource(CPos p) { return render[p.X, p.Y].Type; }
public int GetResourceDensity(CPos p) { return content[p.X, p.Y].Density; }
public int GetMaxResourceDensity(CPos p)
{