mcv deploy while moving; bounds is slightly bigger than one tile.

This commit is contained in:
Chris Forbes
2009-12-28 18:28:21 +13:00
parent e8fcdf9ae0
commit 71a8f86b2c
2 changed files with 5 additions and 5 deletions

View File

@@ -9,10 +9,10 @@ namespace OpenRa.Game.Traits
public Order IssueOrder(Actor self, int2 xy, MouseInput mi, Actor underCursor) public Order IssueOrder(Actor self, int2 xy, MouseInput mi, Actor underCursor)
{ {
if (mi.Button == MouseButton.Left) return null; if (mi.Button == MouseButton.Right && self == underCursor)
if( xy != self.Location ) return null;
return new Order("DeployMcv", self, null, int2.Zero, null); return new Order("DeployMcv", self, null, int2.Zero, null);
return null;
} }
public void ResolveOrder( Actor self, Order order ) public void ResolveOrder( Actor self, Order order )

View File

@@ -22,11 +22,11 @@ All tracked vehicles
Light vehicles Light vehicles
V2RL Works V2RL Works
APC Cargo doesn't work APC Cargo doesn't work
MNLY Mines don't work - strategy to be decided on minefield placement MNLY Can't reload at FIX
MGG No gap MGG No gap
MRJ No radar MRJ No radar
JEEP Works JEEP Works
MCV Deploy while moving is funky MCV Works
HARV Works HARV Works
ARTY Works ARTY Works