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

@@ -110,7 +110,7 @@ namespace OpenRA.Mods.Common.Traits.Render
return;
var sequence = wsb.Info.Sequence;
if (!string.IsNullOrEmpty(Info.AimSequence) && attack.IsAttacking)
if (!string.IsNullOrEmpty(Info.AimSequence) && attack.IsAiming)
sequence = Info.AimSequence;
var prefix = (armament.IsReloading && !string.IsNullOrEmpty(Info.ReloadPrefix)) ? Info.ReloadPrefix : "";