hedgewars/uGearsHedgehog.pas
changeset 8631 796ed875aa95
parent 8616 c4536e98c712
child 8632 b5ed76d2a1f9
--- a/hedgewars/uGearsHedgehog.pas	Sun Mar 03 14:39:55 2013 -0500
+++ b/hedgewars/uGearsHedgehog.pas	Sun Mar 03 14:58:58 2013 -0500
@@ -65,7 +65,12 @@
         begin
         if (CurAmmoType = amSniperRifle) and ((GameFlags and gfArtillery) = 0) then
             cArtillery := false;
-        OnUsedAmmo(HHGear^.Hedgehog^)
+        if (Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoRoundEnd) = 0 then
+            begin
+            MultiShootAttacks:= Ammoz[CurAmmoType].Ammo.NumPerTurn;
+            AfterAttack
+            end
+        else OnUsedAmmo(HHGear^.Hedgehog^)
         end;
 
     MultiShootAttacks:= 0;