move McvDeploy from rules into yaml. fix buttons on chronoSelect. removed extraneous PlayAnimation order.

This commit is contained in:
Bob
2010-01-24 13:46:05 +13:00
parent a43787d0cb
commit 67319eac11
6 changed files with 7 additions and 13 deletions

View File

@@ -8,7 +8,7 @@ namespace OpenRa.Traits
public override object Create(Actor self) { return new RenderBuilding(self); }
}
class RenderBuilding : RenderSimple, INotifyDamage, INotifySold, IResolveOrder
class RenderBuilding : RenderSimple, INotifyDamage, INotifySold
{
const int SmallBibStart = 1;
const int LargeBibStart = 5;
@@ -99,11 +99,5 @@ namespace OpenRa.Traits
}
public void Sold(Actor self) { DoBib(self, true); }
public void ResolveOrder(Actor self, Order order)
{
if (order.OrderString == "PlayAnimation")
PlayCustomAnim(self, order.TargetString);
}
}
}