hedgewars/uGears.pas
changeset 11926 b1782491f19c
parent 11923 9da78300c5d0
child 12186 c6984784c9fb
--- a/hedgewars/uGears.pas	Sat Nov 19 15:03:16 2016 +0100
+++ b/hedgewars/uGears.pas	Sun May 01 02:36:17 2016 +0200
@@ -449,7 +449,6 @@
         //(CurrentHedgehog^.CurAmmoType in [amShotgun, amDEagle, amSniperRifle])
         begin
         if (cHedgehogTurnTime >= 10000)
-        and (not PlacingHogs)
         and (CurrentHedgehog^.Gear <> nil)
         and ((CurrentHedgehog^.Gear^.State and gstAttacked) = 0) then
             if TurnTimeLeft = 5000 then
@@ -464,7 +463,7 @@
                 PlaySound(sndCountdown1);
         if ReadyTimeLeft > 0 then
             begin
-            if (ReadyTimeLeft = 2000) and (LastVoice.snd = sndNone) then
+            if (ReadyTimeLeft = 2000) and (LastVoice.snd = sndNone) and (not PlacingHogs) then
                 AddVoice(sndComeonthen, CurrentTeam^.voicepack);
             dec(ReadyTimeLeft)
             end