hedgewars/uGears.pas
changeset 13748 1a26c472f5ef
parent 13737 8092b54ba19d
child 13751 0e8db74ec585
equal deleted inserted replaced
13747:be265ab8a4fb 13748:1a26c472f5ef
   448         //(CurrentHedgehog^.CurAmmoType in [amShotgun, amDEagle, amSniperRifle])
   448         //(CurrentHedgehog^.CurAmmoType in [amShotgun, amDEagle, amSniperRifle])
   449         begin
   449         begin
   450         if (cHedgehogTurnTime >= 10000)
   450         if (cHedgehogTurnTime >= 10000)
   451         and (CurrentHedgehog^.Gear <> nil)
   451         and (CurrentHedgehog^.Gear <> nil)
   452         and ((CurrentHedgehog^.Gear^.State and gstAttacked) = 0)
   452         and ((CurrentHedgehog^.Gear^.State and gstAttacked) = 0)
   453         and (not isGetAwayTime) then
   453         and (not isGetAwayTime) and (ReadyTimeLeft = 0) then
   454             if TurnTimeLeft = 5000 then
   454             if TurnTimeLeft = 5000 then
   455                 PlaySoundV(sndHurry, CurrentTeam^.voicepack)
   455                 PlaySoundV(sndHurry, CurrentTeam^.voicepack)
   456             else if TurnTimeLeft = 4000 then
   456             else if TurnTimeLeft = 4000 then
   457                 PlaySound(sndCountdown4)
   457                 PlaySound(sndCountdown4)
   458             else if TurnTimeLeft = 3000 then
   458             else if TurnTimeLeft = 3000 then