Spatially partition some actor overlays
This commit is contained in:
@@ -156,6 +156,8 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
WVec.Zero, -511, pal, 1f, true);
|
||||
}
|
||||
|
||||
bool IRenderAboveShroudWhenSelected.SpatiallyPartitionable { get { return false; } }
|
||||
|
||||
class MinefieldOrderGenerator : IOrderGenerator
|
||||
{
|
||||
readonly List<Actor> minelayers;
|
||||
|
||||
@@ -60,5 +60,7 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
Color.FromArgb(96, Color.Black));
|
||||
}
|
||||
}
|
||||
|
||||
bool IRenderAboveShroudWhenSelected.SpatiallyPartitionable { get { return false; } }
|
||||
}
|
||||
}
|
||||
@@ -56,5 +56,7 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
{
|
||||
return RangeCircleRenderables(self, wr);
|
||||
}
|
||||
|
||||
bool IRenderAboveShroudWhenSelected.SpatiallyPartitionable { get { return false; } }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user