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

@@ -124,7 +124,7 @@ namespace OpenRA.Mods.Common.Traits.Render
if (Info.AimSequence == null)
return;
var sequence = Attack.IsAttacking ? Info.AimSequence : Info.Sequence;
var sequence = Attack.IsAiming ? Info.AimSequence : Info.Sequence;
DefaultAnimation.ReplaceAnim(sequence);
}