harvest order wired into harvester. crashes with noti since the matching activity is noti.
This commit is contained in:
@@ -106,7 +106,7 @@ namespace OpenRa.Game
|
||||
|
||||
public static Order PlaceBuilding(Player subject, int2 target, string buildingName)
|
||||
{
|
||||
return new Order(subject, "PlaceBuilding", null, null, target, buildingName, Cursor.Default);
|
||||
return new Order(subject, "PlaceBuilding", null, null, target, buildingName, Cursor.None);
|
||||
}
|
||||
|
||||
public static Order DeliverOre(Actor subject, Actor target)
|
||||
@@ -114,6 +114,11 @@ namespace OpenRa.Game
|
||||
return new Order(subject.Owner, "DeliverOre", subject, target, int2.Zero, null, Cursor.Enter);
|
||||
}
|
||||
|
||||
public static Order Harvest(Actor subject, int2 target)
|
||||
{
|
||||
return new Order(subject.Owner, "Harvest", subject, null, target, null, Cursor.Attack); /* todo: special `harvest` cursor? */
|
||||
}
|
||||
|
||||
public static Order StartProduction(Player subject, string item)
|
||||
{
|
||||
return new Order(subject, "StartProduction", null, null, int2.Zero, item, Cursor.Default );
|
||||
|
||||
Reference in New Issue
Block a user