From 71a8f86b2c9a1cf1feae826ad2b9937128ba86be Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Mon, 28 Dec 2009 18:28:21 +1300 Subject: [PATCH] mcv deploy while moving; bounds is slightly bigger than one tile. --- OpenRa.Game/Traits/McvDeploy.cs | 6 +++--- doc/progress.txt | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/OpenRa.Game/Traits/McvDeploy.cs b/OpenRa.Game/Traits/McvDeploy.cs index ab72c362fb..1534d64253 100644 --- a/OpenRa.Game/Traits/McvDeploy.cs +++ b/OpenRa.Game/Traits/McvDeploy.cs @@ -9,10 +9,10 @@ namespace OpenRa.Game.Traits public Order IssueOrder(Actor self, int2 xy, MouseInput mi, Actor underCursor) { - if (mi.Button == MouseButton.Left) return null; - if( xy != self.Location ) return null; + if (mi.Button == MouseButton.Right && self == underCursor) + 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 ) diff --git a/doc/progress.txt b/doc/progress.txt index 2159ddbf1d..fa8cf9e94e 100644 --- a/doc/progress.txt +++ b/doc/progress.txt @@ -22,11 +22,11 @@ All tracked vehicles Light vehicles V2RL Works 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 MRJ No radar JEEP Works -MCV Deploy while moving is funky +MCV Works HARV Works ARTY Works