--- a/hedgewars/HHHandlers.inc Thu May 06 02:00:39 2010 +0000
+++ b/hedgewars/HHHandlers.inc Thu May 06 03:12:42 2010 +0000
@@ -277,14 +277,17 @@
end
else
begin
- OnUsedAmmo(CurrentHedgehog^);
if ((Ammo^[CurSlot, CurAmmo].Propz) and ammoprop_NoRoundEndHint) = 0 then
begin
+ OnUsedAmmo(CurrentHedgehog^);
TurnTimeLeft:= Ammoz[Ammo^[CurSlot, CurAmmo].AmmoType].TimeAfterTurn;
State:= State or gstAttacked
end
else
- ApplyAmmoChanges(CurrentHedgehog^);
+ begin
+ OnUsedAmmo(CurrentHedgehog^);
+ ApplyAmmoChanges(CurrentHedgehog^)
+ end
end;
end
else