# HG changeset patch # User unc0rr # Date 1232906872 0 # Node ID 769986d39202997e54abb07989fe45136995fdcc # Parent b67a124afe53d860fce76a175b57fc5c02df9648 Fix accidental rope removinf from ammo in some cases diff -r b67a124afe53 -r 769986d39202 hedgewars/GSHandlers.inc --- a/hedgewars/GSHandlers.inc Sun Jan 25 18:07:10 2009 +0000 +++ b/hedgewars/GSHandlers.inc Sun Jan 25 18:07:52 2009 +0000 @@ -822,8 +822,9 @@ Gear^.Y:= Gear^.Y + ty; Gear^.Elasticity:= tt; Gear^.doStep:= @doStepRopeWork; - with HHGear^ do State:= State and not (gstAttacking or gstMoving); - tt:= _0 + with HHGear^ do State:= State and not (gstAttacking or gstMoving or gstHHHJump); + tt:= _0; + exit end; tx:= tx + Gear^.dX + Gear^.dX; ty:= ty + Gear^.dY + Gear^.dY;