# HG changeset patch # User sheepluva # Date 1346939272 -7200 # Node ID aead327f1e1a7f090483404dc1023e40f288f72d # Parent e06b83cbde746a8878ad0d8da00d6f3994f96585 fix for issue 293 : "rope stuck after picking crate" diff -r e06b83cbde74 -r aead327f1e1a hedgewars/uGearsHandlersRope.pas --- a/hedgewars/uGearsHandlersRope.pas Wed Sep 05 12:36:47 2012 +0200 +++ b/hedgewars/uGearsHandlersRope.pas Thu Sep 06 15:47:52 2012 +0200 @@ -323,9 +323,8 @@ HHGear^.dX.QWordValue:= HHGear^.dX.QWordValue shr 2; HHGear^.dY.QWordValue:= HHGear^.dY.QWordValue shr 2; - if not haveCollision then + if (not haveCollision) and ((Gear^.State and gsttmpFlag) <> 0) then begin - if (Gear^.State and gsttmpFlag) <> 0 then begin PlaySound(sndRopeRelease); if Gear^.Hedgehog^.CurAmmoType <> amParachute then