diff --git a/OpenRa.Game/GameRules/Footprint.cs b/OpenRa.Game/GameRules/Footprint.cs index a6efcc35db..cb02f9b823 100644 --- a/OpenRa.Game/GameRules/Footprint.cs +++ b/OpenRa.Game/GameRules/Footprint.cs @@ -57,6 +57,9 @@ namespace OpenRa.Game.GameRules public static int2 AdjustForBuildingSize( UnitInfo.BuildingInfo unitInfo ) { var dim = unitInfo.Dimensions; + if (dim.X == 1 && dim.Y == 1) + return int2.Zero; /* otherwise 1x1 buildings look stupid */ + return new int2( dim.X / 2, ( dim.Y + 1 ) / 2 ); } }