fix FACT space check on deploying mcv

This commit is contained in:
Chris Forbes
2009-11-04 22:07:41 +13:00
parent d21589c6e8
commit 7acd327896
5 changed files with 10 additions and 12 deletions

View File

@@ -45,7 +45,7 @@ namespace OpenRa.Game
}
case "DeployMcv":
{
if (!Game.CanPlaceBuilding("fact", order.Subject.Location, order.Subject))
if (!Game.CanPlaceBuilding("fact", order.Subject.Location - new int2(1,1), order.Subject, false))
break; /* throw the order on the floor */
var mobile = order.Subject.traits.Get<Mobile>();