hedgewars/HHHandlers.inc
changeset 3957 25b0a62e08de
parent 3953 fd7ced2071a1
child 3963 6090d2a2472e
equal deleted inserted replaced
3956:604f08c54a01 3957:25b0a62e08de
   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
   329                 TurnTimeLeft:= Ammoz[CurAmmoType].TimeAfterTurn;
   330                 TurnTimeLeft:= Ammoz[CurAmmoType].TimeAfterTurn;
       
   331                 State:= State or gstAttacked
       
   332                 end;
   330             if (Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoRoundEndHint) <> 0 then ApplyAmmoChanges(CurrentHedgehog^);
   333             if (Ammoz[CurAmmoType].Ammo.Propz and ammoprop_NoRoundEndHint) <> 0 then ApplyAmmoChanges(CurrentHedgehog^);
   331             if (GameFlags and gfInfAttack) <> 0 then State:= State or gstAttacked
   334             if (GameFlags and gfInfAttack) <> 0 then State:= State or gstAttacked
   332             end;
   335             end;
   333         end
   336         end
   334     else
   337     else