# HG changeset patch # User Wuzzy # Date 1507473042 -7200 # Node ID c98179b007406075c7fd575d18219e1b188cf857 # Parent 87b3009f51c389c945e48c641e37612b82593549 Fix short sound breakdown shortly after using time box diff -r 87b3009f51c3 -r c98179b00740 ChangeLog.txt --- a/ChangeLog.txt Sun Oct 08 04:57:28 2017 +0200 +++ b/ChangeLog.txt Sun Oct 08 16:30:42 2017 +0200 @@ -52,6 +52,7 @@ * Fixed Birdy descending into water when hog took damage or died before it got picked up * Fixed teleportation being able to teleport in land if you clicked in the "dark" area of the wrap world edge * Fixed team getting infinite ammo when stockpiling >= 100 ammo (max. finite ammo is now limited to 99) + * Fixed short sound effect breakdown right after using a time box * Remove buggy /finish chat command * Various other fixes diff -r 87b3009f51c3 -r c98179b00740 hedgewars/uGearsHandlersMess.pas --- a/hedgewars/uGearsHandlersMess.pas Sun Oct 08 04:57:28 2017 +0200 +++ b/hedgewars/uGearsHandlersMess.pas Sun Oct 08 16:30:42 2017 +0200 @@ -5748,6 +5748,7 @@ if Gear^.Pos = 2 then begin StopSoundChan(Gear^.SoundChannel); + Gear^.SoundChannel:= -1; if (Gear^.Timer = 0) then begin if (HH^.Gear <> nil) and (HH^.Gear^.State and gstInvisible = 0) then @@ -5796,6 +5797,7 @@ if (Gear^.Pos = 3) and (Gear^.Power = 0) then begin StopSoundChan(Gear^.SoundChannel); + Gear^.SoundChannel:= -1; if HH^.GearHidden = nil then begin DeleteGear(Gear);