slightly faster again (map.IsInMap isnt free) -- but be careful

This commit is contained in:
Chris Forbes
2010-07-26 21:42:11 +12:00
parent e0a5350ed6
commit 56e929014d
2 changed files with 1 additions and 2 deletions

View File

@@ -67,7 +67,7 @@ namespace OpenRA.Traits
public bool AnyUnitsAt(int2 a)
{
return map.IsInMap(a) && influence[a.X, a.Y].Count > 0;
return /*map.IsInMap(a) && */influence[a.X, a.Y].Count > 0;
}
public void Add( Actor self, IOccupySpace unit )