Replace CPos.CenterPosition -> Map.CenterOfCell.
This commit is contained in:
@@ -60,7 +60,7 @@ namespace OpenRA.Mods.RA.Effects
|
||||
if (!building.IsInWorld || !building.World.Selection.Actors.Contains(building))
|
||||
return SpriteRenderable.None;
|
||||
|
||||
var pos = cachedLocation.CenterPosition;
|
||||
var pos = wr.world.Map.CenterOfCell(cachedLocation);
|
||||
var palette = wr.Palette(palettePrefix+building.Owner.InternalName);
|
||||
return circles.Render(pos, palette).Concat(flag.Render(pos, palette));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user