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

@@ -60,7 +60,7 @@ namespace OpenRA.Mods.Cnc.Traits.Render
protected override void Tick(Actor self)
{
if (Info.AimSequence != null)
sequence = Attack.IsAttacking ? Info.AimSequence : Info.Sequence;
sequence = Attack.IsAiming ? Info.AimSequence : Info.Sequence;
var currentAmmo = ammoPool.GetAmmoCount();
if (reloadStages < 0)