# HG changeset patch # User unC0Rr # Date 1432630839 -10800 # Node ID a8749503c130b79a6578f4c6a534e1df240360d3 # Parent 493bd837dc2e869926b8b6f354e4dd978ae4cabf# Parent fb2b006ba476c65e1e87e7b6ddd887e0386fda6d merge diff -r fb2b006ba476 -r a8749503c130 hedgewars/uGearsHandlersMess.pas --- a/hedgewars/uGearsHandlersMess.pas Tue May 26 10:42:17 2015 +0200 +++ b/hedgewars/uGearsHandlersMess.pas Tue May 26 12:00:39 2015 +0300 @@ -1954,7 +1954,7 @@ if land = 0 then land:= TestCollisionYwithGear(Gear, 2); if (land <> 0) and (land and lfBouncy = 0) then begin - if (not isZero(Gear^.dX)) or (not isZero(Gear^.dY)) then + if ((Gear^.State and gstMoving) <> 0) or (not isZero(Gear^.dX)) or (not isZero(Gear^.dY)) then begin PlaySound(sndRopeAttach); Gear^.dX:= _0;