fixed bug in prev.
This commit is contained in:
@@ -70,6 +70,7 @@ namespace OpenRa.Game
|
||||
Func<int2, bool> AvoidUnitsNear(int2 p, int dist)
|
||||
{
|
||||
return q =>
|
||||
p != q &&
|
||||
((p - q).LengthSquared < dist * dist) &&
|
||||
(Game.UnitInfluence.GetUnitAt(q) != null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user