Attack activities use armaments directly through constructor

This commit is contained in:
atlimit8
2015-06-27 13:52:00 -05:00
parent cdd4590ece
commit 527675db8d
4 changed files with 7 additions and 7 deletions

View File

@@ -16,8 +16,8 @@ namespace OpenRA.Mods.Common.Activities
{
public class Heal : Attack
{
public Heal(Actor self, Target target, WDist minRange, WDist maxRange, bool allowMovement)
: base(self, target, minRange, maxRange, allowMovement) { }
public Heal(Actor self, Target target, Armament armament, bool allowMovement)
: base(self, target, armament, allowMovement) { }
protected override Activity InnerTick(Actor self, AttackBase attack)
{