diff --git a/OpenRa.Game/Orders/PlaceBuildingOrderGenerator.cs b/OpenRa.Game/Orders/PlaceBuildingOrderGenerator.cs index 696146f037..d8f712fceb 100644 --- a/OpenRa.Game/Orders/PlaceBuildingOrderGenerator.cs +++ b/OpenRa.Game/Orders/PlaceBuildingOrderGenerator.cs @@ -36,7 +36,7 @@ namespace OpenRa.Orders yield break; } - yield return new Order("PlaceBuilding", Producer.Owner.PlayerActor, null, xy, Building); + yield return new Order("PlaceBuilding", Producer.Owner.PlayerActor, null, topLeft, Building); } } diff --git a/OpenRa.Game/Traits/PlaceBuilding.cs b/OpenRa.Game/Traits/PlaceBuilding.cs index fb64d0b23a..9f7c391a2a 100755 --- a/OpenRa.Game/Traits/PlaceBuilding.cs +++ b/OpenRa.Game/Traits/PlaceBuilding.cs @@ -22,7 +22,7 @@ namespace OpenRa.Traits if( producing == null || producing.Item != order.TargetString || producing.RemainingTime != 0 ) return; - Game.world.CreateActor( order.TargetString, order.TargetLocation - Footprint.AdjustForBuildingSize( unit.Traits.Get() ), order.Player ); + Game.world.CreateActor( order.TargetString, order.TargetLocation, order.Player ); if (order.Player == Game.LocalPlayer) { Sound.Play("placbldg.aud");