--- a/hedgewars/uGearsHedgehog.pas Sat Sep 01 23:03:56 2018 +0200
+++ b/hedgewars/uGearsHedgehog.pas Sun Sep 02 00:07:33 2018 +0200
@@ -596,15 +596,14 @@
if (not CurrentTeam^.ExtDriven) and ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_Power) <> 0) then
SendIPC(_S'a');
AfterAttack;
- end
+ end;
+ TargetPoint.X := NoPointX;
end
else
Message:= Message and (not gmAttack);
ScriptCall('onHogAttack', ord(usedAmmoType));
end; // of with Gear^, Gear^.Hedgehog^ do
-
- TargetPoint.X := NoPointX;
end;
procedure AfterAttack;