zOMG im an idiot

This commit is contained in:
Chris Forbes
2010-03-22 20:58:31 +13:00
parent 15ba89e957
commit 82eea5ad2c
4 changed files with 8 additions and 19 deletions

View File

@@ -66,7 +66,7 @@ namespace OpenRA.Traits
{
var r = RectangleF.FromLTRB(a.X, a.Y, b.X, b.Y);
return ActorsInBins(a.X / scale, a.Y / scale, b.X / scale, b.Y / scale)
return ActorsInBins(a.X / scale, b.X / scale, a.Y / scale, b.Y / scale)
.Distinct()
.Where(u => u.GetBounds(true).IntersectsWith(r));
}