Make notifyAttacks more consistent
This commit is contained in:
@@ -169,7 +169,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
return;
|
||||
|
||||
foreach (var a in Armaments)
|
||||
a.CheckFire(self, facing, target, false);
|
||||
a.CheckFire(self, facing, target);
|
||||
}
|
||||
|
||||
IEnumerable<IOrderTargeter> IIssueOrder.Orders
|
||||
|
||||
@@ -185,7 +185,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
paxFacing[a.Actor].Facing = targetYaw;
|
||||
paxPos[a.Actor].SetCenterPosition(a.Actor, pos + PortOffset(self, port));
|
||||
|
||||
if (!a.CheckFire(a.Actor, facing, target, true))
|
||||
if (!a.CheckFire(a.Actor, facing, target))
|
||||
continue;
|
||||
|
||||
if (a.Info.MuzzleSequence != null)
|
||||
|
||||
Reference in New Issue
Block a user