Rename AttackBase.IsAttacking to IsAiming to make its uses and assumptions clear.
This commit is contained in:
@@ -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 : "";
|
||||
|
||||
Reference in New Issue
Block a user