Spatially partition some actor overlays
This commit is contained in:
@@ -88,6 +88,8 @@ namespace OpenRA.Mods.Common.Traits.Render
|
||||
return Info.RequiresSelection ? RenderInner(self, wr) : SpriteRenderable.None;
|
||||
}
|
||||
|
||||
bool IRenderAboveShroudWhenSelected.SpatiallyPartitionable { get { return true; } }
|
||||
|
||||
IEnumerable<IRenderable> RenderInner(Actor self, WorldRenderer wr)
|
||||
{
|
||||
if (IsTraitDisabled || self.IsDead || !self.IsInWorld)
|
||||
|
||||
Reference in New Issue
Block a user