Begin imposing sanity on order ordering

This commit is contained in:
Paul Chote
2010-09-12 18:10:34 +12:00
parent 1bc2136771
commit 2b6328f0ee
21 changed files with 108 additions and 14 deletions

View File

@@ -45,6 +45,11 @@ namespace OpenRA.Mods.RA.Render
if (order.OrderString == "Disguise")
disguisedAs = order.TargetActor == self ? null : order.TargetActor;
}
public int OrderPriority(Actor self, int2 xy, MouseInput mi, Actor underCursor)
{
return 5;
}
public Order IssueOrder(Actor self, int2 xy, MouseInput mi, Actor underCursor)
{