Rename AttackBase.IsAttacking to IsAiming to make its uses and assumptions clear.

This commit is contained in:
Paul Chote
2017-11-26 11:55:05 +00:00
committed by reaperrr
parent ea05221180
commit b898b5001a
9 changed files with 9 additions and 9 deletions

View File

@@ -59,7 +59,7 @@ namespace OpenRA.Mods.Common.Activities
foreach (var attack in attackTraits.Where(x => !x.IsTraitDisabled))
{
var status = TickAttack(self, attack);
attack.IsAttacking = status == AttackStatus.Attacking || status == AttackStatus.NeedsToTurn;
attack.IsAiming = status == AttackStatus.Attacking || status == AttackStatus.NeedsToTurn;
}
if (attackStatus.HasFlag(AttackStatus.Attacking))