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

@@ -17,7 +17,7 @@ namespace OpenRa.Game.Traits
if (lmb) return null;
if (xy == self.Location)
return OpenRa.Game.Order.DeployMcv(self, !Game.CanPlaceBuilding("fact", xy, self));
return OpenRa.Game.Order.DeployMcv(self, !Game.CanPlaceBuilding("fact", xy - new int2(1,1), self, false));
return null;
}