Remove the now-unused ExploredBounds optimization.

This commit is contained in:
Paul Chote
2014-06-20 14:00:33 +12:00
parent 441971f6d7
commit 2a466d08c3
3 changed files with 2 additions and 61 deletions

View File

@@ -55,17 +55,6 @@ namespace OpenRA
public bool ShroudObscures(Actor a) { return RenderPlayer != null && !RenderPlayer.Shroud.IsExplored(a); }
public bool ShroudObscures(CPos p) { return RenderPlayer != null && !RenderPlayer.Shroud.IsExplored(p); }
public Rectangle? VisibleBounds
{
get
{
if (RenderPlayer == null)
return null;
return RenderPlayer.Shroud.ExploredBounds;
}
}
public bool IsReplay
{
get { return orderManager.Connection is ReplayConnection; }