stripped dead code from move; added rally point support

This commit is contained in:
Chris Forbes
2009-11-09 18:53:06 +13:00
parent 7d19741dd9
commit 53db5eb491
8 changed files with 58 additions and 24 deletions

View File

@@ -133,5 +133,10 @@ namespace OpenRa.Game
{
return new Order( subject, "CancelProduction", null, null, int2.Zero, item, Cursor.Default );
}
public static Order SetRallyPoint(Actor subject, int2 target)
{
return new Order(subject.Owner, "SetRallyPoint", subject, null, target, null, Cursor.Move);
}
}
}