# HG changeset patch # User unc0rr # Date 1206295680 0 # Node ID a2653758640029e312536559103508a18b5f04fc # Parent 129cdeabc9d4fa9271e1516ee29a551e884fcea3 Fix fall without damage trick, which could be performed with not attached rope diff -r 129cdeabc9d4 -r a26537586400 hedgewars/GSHandlers.inc --- a/hedgewars/GSHandlers.inc Sun Mar 23 18:03:07 2008 +0000 +++ b/hedgewars/GSHandlers.inc Sun Mar 23 18:08:00 2008 +0000 @@ -677,8 +677,8 @@ if (HHGear^.State and gstMoving) <> 0 then if TestCollisionYwithGear(HHGear, 1) then begin + CheckHHDamage(HHGear); HHGear^.dY:= _0; - CheckHHDamage(HHGear); HHGear^.State:= HHGear^.State and not (gstMoving or gstHHJumping); end else begin