more. doesn't run. may not compile

This commit is contained in:
Bob
2010-08-20 09:02:18 +12:00
committed by Chris Forbes
parent 5561ac458b
commit 739c38d3d8
4 changed files with 33 additions and 22 deletions

View File

@@ -79,7 +79,7 @@ namespace OpenRA.Traits
return ActorsInBins(a.X / scale, b.X / scale, a.Y / scale, b.Y / scale)
.Distinct()
.Where(u => u.GetBounds(true).IntersectsWith(r));
.Where(u => u.IsInWorld && u.GetBounds(true).IntersectsWith(r));
}
}
}