removed the BS handling of supportpower sounds

This commit is contained in:
Chris Forbes
2010-04-10 14:29:46 +12:00
parent 4a15215e2a
commit f01bb9b767
5 changed files with 3 additions and 13 deletions

View File

@@ -35,13 +35,10 @@ namespace OpenRA.Mods.RA
{
public ParatroopersPower(Actor self, ParatroopersPowerInfo info) : base(self, info) { }
protected override void OnFinishCharging() { Sound.PlayToPlayer(Owner, Info.EndChargeSound); }
protected override void OnActivate()
{
Game.controller.orderGenerator =
new GenericSelectTarget( Owner.PlayerActor, "ParatroopersActivate", "ability" );
Sound.PlayToPlayer(Owner, Info.SelectTargetSound);
}
public void ResolveOrder(Actor self, Order order)