hedgewars/HHHandlers.inc
changeset 3953 fd7ced2071a1
parent 3951 c9a63db3e603
child 3957 25b0a62e08de
equal deleted inserted replaced
3951:c9a63db3e603 3953:fd7ced2071a1
   324             end
   324             end
   325         else
   325         else
   326             begin
   326             begin
   327             OnUsedAmmo(CurrentHedgehog^);
   327             OnUsedAmmo(CurrentHedgehog^);
   328             if ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoRoundEndHint) = 0) and ((GameFlags and gfInfAttack) = 0) then
   328             if ((Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoRoundEndHint) = 0) and ((GameFlags and gfInfAttack) = 0) then
   329                 begin
       
   330                 TurnTimeLeft:= Ammoz[CurAmmoType].TimeAfterTurn;
   329                 TurnTimeLeft:= Ammoz[CurAmmoType].TimeAfterTurn;
   331                 end
   330             if (Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoRoundEndHint) <> 0 then ApplyAmmoChanges(CurrentHedgehog^);
   332             else ApplyAmmoChanges(CurrentHedgehog^);
   331             if (GameFlags and gfInfAttack) <> 0 then State:= State or gstAttacked
   333             if (GameFlags and gfInfAttack) <> 0 then State:= State or gstAttacked;
       
   334             end;
   332             end;
   335         end
   333         end
   336     else
   334     else
   337         begin
   335         begin
   338         OnUsedAmmo(CurrentHedgehog^);
   336         OnUsedAmmo(CurrentHedgehog^);