diff --git a/OpenRA.Mods.Common/Traits/Buildings/FootprintUtils.cs b/OpenRA.Mods.Common/Traits/Buildings/FootprintUtils.cs index 172fe00600..4b890f681c 100644 --- a/OpenRA.Mods.Common/Traits/Buildings/FootprintUtils.cs +++ b/OpenRA.Mods.Common/Traits/Buildings/FootprintUtils.cs @@ -65,7 +65,8 @@ namespace OpenRA.Mods.Common.Traits public static WVec CenterOffset(World w, BuildingInfo buildingInfo) { var dim = buildingInfo.Dimensions; - return (w.Map.CenterOfCell(CPos.Zero + new CVec(dim.X, dim.Y)) - w.Map.CenterOfCell(new CPos(1, 1))) / 2; + var off = (w.Map.CenterOfCell(new CPos(dim.X, dim.Y)) - w.Map.CenterOfCell(new CPos(1, 1))) / 2; + return off - new WVec(0, 0, off.Z); } } } diff --git a/mods/ts/sequences/structures.yaml b/mods/ts/sequences/structures.yaml index cd8840f55f..21d42b72d3 100644 --- a/mods/ts/sequences/structures.yaml +++ b/mods/ts/sequences/structures.yaml @@ -237,7 +237,7 @@ napowr: naapwr: Defaults: - Offset: 12, -40 + Offset: 12, -30 UseTilesetCode: true idle: ShadowStart: 3 @@ -718,7 +718,7 @@ napuls.nod: nastlh: Defaults: - Offset: -6, -30 + Offset: -16, -28 UseTilesetCode: true idle: ShadowStart: 3 @@ -1183,7 +1183,7 @@ namisl: gaplug: Defaults: - Offset: 12, -40 + Offset: 12, -28 UseTilesetCode: true idle: ShadowStart: 3