Fix duplicated/distorted SequencePlaceBuildingPreview annotations.
This commit is contained in:
@@ -82,9 +82,6 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
|
|
||||||
protected override IEnumerable<IRenderable> RenderInner(WorldRenderer wr, CPos topLeft, Dictionary<CPos, PlaceBuildingCellType> footprint)
|
protected override IEnumerable<IRenderable> RenderInner(WorldRenderer wr, CPos topLeft, Dictionary<CPos, PlaceBuildingCellType> footprint)
|
||||||
{
|
{
|
||||||
foreach (var r in RenderAnnotations(wr, topLeft))
|
|
||||||
yield return r;
|
|
||||||
|
|
||||||
if (info.FootprintUnderPreview != PlaceBuildingCellType.None)
|
if (info.FootprintUnderPreview != PlaceBuildingCellType.None)
|
||||||
foreach (var r in RenderFootprint(wr, topLeft, footprint, info.FootprintUnderPreview))
|
foreach (var r in RenderFootprint(wr, topLeft, footprint, info.FootprintUnderPreview))
|
||||||
yield return r;
|
yield return r;
|
||||||
|
|||||||
Reference in New Issue
Block a user