Merge pull request #7276 from penev92/bleed_fixAttack

Minor targeting cleanup
This commit is contained in:
Oliver Brakmann
2015-01-12 18:48:18 +01:00
4 changed files with 16 additions and 19 deletions

View File

@@ -27,14 +27,6 @@ namespace OpenRA.Mods.Common.Traits
public AttackFollow(Actor self, AttackFollowInfo info)
: base(self, info) { }
protected override bool CanAttack(Actor self, Target target)
{
if (!target.IsValidFor(self))
return false;
return base.CanAttack(self, target);
}
public virtual void Tick(Actor self)
{
DoAttack(self, Target);