Drop targets when switching to a more restrictive stance.
This commit is contained in:
@@ -38,9 +38,9 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public override Activity GetAttackActivity(Actor self, Target newTarget, bool allowMove, bool forceAttack)
|
||||
{
|
||||
if (aircraftInfo.CanHover)
|
||||
return new HeliAttack(self, newTarget);
|
||||
return new HeliAttack(self, newTarget, forceAttack);
|
||||
|
||||
return new FlyAttack(self, newTarget);
|
||||
return new FlyAttack(self, newTarget, forceAttack);
|
||||
}
|
||||
|
||||
protected override bool CanAttack(Actor self, Target target)
|
||||
|
||||
Reference in New Issue
Block a user