hedgewars/GSHandlers.inc
changeset 2139 5a083e71a71d
parent 2090 4edb0d49a42d
child 2140 75e5c4fcae2a
--- a/hedgewars/GSHandlers.inc	Sun May 31 19:42:49 2009 +0000
+++ b/hedgewars/GSHandlers.inc	Mon Jun 01 00:27:57 2009 +0000
@@ -495,6 +495,7 @@
     dec(TurnTimeLeft)
 else
     begin
+    PHedgehog(Gear^.Hedgehog)^.AttacksNum:= Gear^.Ammo^.NumPerTurn+1;
 	DeleteGear(Gear);
 	AfterAttack;
     TurnTimeLeft:= 0