new support power impl

This commit is contained in:
Chris Forbes
2010-01-23 21:07:27 +13:00
parent bbf94fef79
commit d7a2691db3
56 changed files with 409 additions and 489 deletions

View File

@@ -29,7 +29,7 @@ namespace OpenRa.Mods.Aftermath
public Order IssueOrder(Actor self, int2 xy, MouseInput mi, Actor underCursor)
{
if (mi.Button == MouseButton.Right && xy == self.Location && chargeTick <= 0)
return new Order("Deploy", self, null, int2.Zero, null);
return new Order("Deploy", self);
return null;
}

View File

@@ -21,7 +21,7 @@ namespace OpenRa.Mods.Aftermath.Orders
yield break;
}
yield return new Order("ChronoshiftSelf", self, null, xy, null);
yield return new Order("ChronoshiftSelf", self, xy);
}
public void Tick( World world ) { }