hedgewars/uGears.pas
changeset 3956 604f08c54a01
parent 3954 ae3583ad6ea9
child 3957 25b0a62e08de
equal deleted inserted replaced
3955:d14ecff9502b 3956:604f08c54a01
   864         if CurrentHedgehog^.Gear <> nil then
   864         if CurrentHedgehog^.Gear <> nil then
   865             if ((CurrentHedgehog^.Gear^.State and gstAttacking) = 0)
   865             if ((CurrentHedgehog^.Gear^.State and gstAttacking) = 0)
   866                 and not isInMultiShoot then
   866                 and not isInMultiShoot then
   867                 begin
   867                 begin
   868                 if (TurnTimeLeft = 5000)
   868                 if (TurnTimeLeft = 5000)
       
   869                     and (cHedgehogTurnTime >= 10000)
   869                     and (not PlacingHogs)
   870                     and (not PlacingHogs)
   870                     and (CurrentHedgehog^.Gear <> nil)
   871                     and (CurrentHedgehog^.Gear <> nil)
   871                     and ((CurrentHedgehog^.Gear^.State and gstAttacked) = 0) then
   872                     and ((CurrentHedgehog^.Gear^.State and gstAttacked) = 0) then
   872                         PlaySound(sndHurry, CurrentTeam^.voicepack);
   873                         PlaySound(sndHurry, CurrentTeam^.voicepack);
   873                 if ReadyTimeLeft > 0 then
   874                 if ReadyTimeLeft > 0 then