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

@@ -62,7 +62,7 @@ namespace OpenRA.Mods.RA
remainingTime = Math.Max(remainingTime, (int)(info.CloakDelay * 25));
}
public void Attacking(Actor self) { DoUncloak(); }
public void Attacking(Actor self, Target target) { DoUncloak(); }
public void Damaged(Actor self, AttackInfo e)
{
canCloak = (e.DamageState < DamageState.Critical);