540 |
540 |
541 if TurnTimeLeft > 0 then |
541 if TurnTimeLeft > 0 then |
542 if IsClockRunning() then |
542 if IsClockRunning() then |
543 //(CurrentHedgehog^.CurAmmoType in [amShotgun, amDEagle, amSniperRifle]) |
543 //(CurrentHedgehog^.CurAmmoType in [amShotgun, amDEagle, amSniperRifle]) |
544 begin |
544 begin |
545 if (cHedgehogTurnTime >= 10000) |
545 if (cHedgehogTurnTime > TurnTimeLeft) |
546 and (CurrentHedgehog^.Gear <> nil) |
546 and (CurrentHedgehog^.Gear <> nil) |
547 and ((CurrentHedgehog^.Gear^.State and gstAttacked) = 0) |
547 and ((CurrentHedgehog^.Gear^.State and gstAttacked) = 0) |
548 and (not isGetAwayTime) and (ReadyTimeLeft = 0) then |
548 and (not isGetAwayTime) and (ReadyTimeLeft = 0) then |
549 if TurnTimeLeft = 5000 then |
549 if (TurnTimeLeft = 5000) and (cHedgehogTurnTime >= 10000) then |
550 PlaySoundV(sndHurry, CurrentTeam^.voicepack) |
550 PlaySoundV(sndHurry, CurrentTeam^.voicepack) |
551 else if TurnTimeLeft = 4000 then |
551 else if TurnTimeLeft = 4000 then |
552 PlaySound(sndCountdown4) |
552 PlaySound(sndCountdown4) |
553 else if TurnTimeLeft = 3000 then |
553 else if TurnTimeLeft = 3000 then |
554 PlaySound(sndCountdown3) |
554 PlaySound(sndCountdown3) |