# HG changeset patch # User Wuzzy # Date 1462062977 -7200 # Node ID b1782491f19cf123dd643de5195f96ea77b24a85 # Parent d7d7f3a07db94d1237163c68f11d7647f31e9987 Enable timer warning sounds in hog placement phase diff -r d7d7f3a07db9 -r b1782491f19c hedgewars/uGears.pas --- 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