Spatially partition some actor overlays

This commit is contained in:
reaperrr
2017-09-28 11:15:40 +02:00
committed by RoosterDragon
parent 6ef95405bf
commit 04fb0f209d
16 changed files with 52 additions and 10 deletions

View File

@@ -97,5 +97,7 @@ namespace OpenRA.Mods.Common.Traits.Render
var aiSquadInfo = "{0}, {1}".F(squad.Type, squad.TargetActor);
yield return new TextRenderable(font, self.CenterPosition + offset, 0, color, aiSquadInfo);
}
bool IRenderAboveShroudWhenSelected.SpatiallyPartitionable { get { return true; } }
}
}