Use ExtraData for SetStance and SetUnitStance.

This commit is contained in:
Paul Chote
2014-06-21 22:06:46 +12:00
parent 7d24053f52
commit 2af123034d
4 changed files with 7 additions and 6 deletions

View File

@@ -66,7 +66,7 @@ namespace OpenRA.Mods.RA
public void ResolveOrder(Actor self, Order order)
{
if (order.OrderString == "SetUnitStance" && info.EnableStances)
Stance = (UnitStance)order.TargetLocation.X;
Stance = (UnitStance)order.ExtraData;
}
public void Damaged(Actor self, AttackInfo e)