Add target param to INotifyAttack. Remove target field from AttackOmni

This commit is contained in:
Bob
2010-11-14 16:03:01 +13:00
parent f8e6245903
commit e7a07ea9c3
10 changed files with 10 additions and 17 deletions

View File

@@ -58,7 +58,7 @@ namespace OpenRA.Mods.RA
return target.Actor == previousTarget ? 3 : base.FireDelay(self, target, info);
}
public void Attacking(Actor self)
public void Attacking(Actor self, Target target)
{
foreach (var w in Weapons)
w.FireDelay = 8;