hedgewars/uGears.pas
changeset 12181 c6984784c9fb
parent 11921 b1782491f19c
child 12192 de9144250c37
equal deleted inserted replaced
12180:7df59356471e 12181:c6984784c9fb
   448     if IsClockRunning() then
   448     if IsClockRunning() then
   449         //(CurrentHedgehog^.CurAmmoType in [amShotgun, amDEagle, amSniperRifle])
   449         //(CurrentHedgehog^.CurAmmoType in [amShotgun, amDEagle, amSniperRifle])
   450         begin
   450         begin
   451         if (cHedgehogTurnTime >= 10000)
   451         if (cHedgehogTurnTime >= 10000)
   452         and (CurrentHedgehog^.Gear <> nil)
   452         and (CurrentHedgehog^.Gear <> nil)
   453         and ((CurrentHedgehog^.Gear^.State and gstAttacked) = 0) then
   453         and ((CurrentHedgehog^.Gear^.State and gstAttacked) = 0)
       
   454         and (not isGetAwayTime) then
   454             if TurnTimeLeft = 5000 then
   455             if TurnTimeLeft = 5000 then
   455                 PlaySoundV(sndHurry, CurrentTeam^.voicepack)
   456                 PlaySoundV(sndHurry, CurrentTeam^.voicepack)
   456             else if TurnTimeLeft = 4000 then
   457             else if TurnTimeLeft = 4000 then
   457                 PlaySound(sndCountdown4)
   458                 PlaySound(sndCountdown4)
   458             else if TurnTimeLeft = 3000 then
   459             else if TurnTimeLeft = 3000 then