Fix duplicated/distorted SequencePlaceBuildingPreview annotations.

This commit is contained in:
Paul Chote
2019-12-15 11:52:52 +00:00
committed by abcdefg30
parent 2bf16a34d6
commit 5a686b3289

View File

@@ -82,9 +82,6 @@ namespace OpenRA.Mods.Common.Traits
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)
foreach (var r in RenderFootprint(wr, topLeft, footprint, info.FootprintUnderPreview))
yield return r;