Update content for new lookup API (#7363)
This commit is contained in:
@@ -115,7 +115,7 @@ public sealed class TargetOutlineSystem : EntitySystem
|
||||
// TODO: Duplicated in SpriteSystem and DragDropSystem. Should probably be cached somewhere for a frame?
|
||||
var mousePos = _eyeManager.ScreenToMap(_inputManager.MouseScreenPosition).Position;
|
||||
var bounds = new Box2(mousePos - LookupSize, mousePos + LookupSize);
|
||||
var pvsEntities = _lookup.GetEntitiesIntersecting(_eyeManager.CurrentMap, bounds, LookupFlags.Approximate | LookupFlags.IncludeAnchored);
|
||||
var pvsEntities = _lookup.GetEntitiesIntersecting(_eyeManager.CurrentMap, bounds, LookupFlags.Approximate | LookupFlags.Anchored);
|
||||
|
||||
foreach (var entity in pvsEntities)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user