# HG changeset patch # User unc0rr # Date 1248784861 0 # Node ID 786fb5d8107d0808c930478a9acddb7bdd326ea1 # Parent ef19b949ad3046171067ba560e7464d647058f35 Better handle loosing control when on rope diff -r ef19b949ad30 -r 786fb5d8107d hedgewars/GSHandlers.inc --- a/hedgewars/GSHandlers.inc Tue Jul 28 12:32:33 2009 +0000 +++ b/hedgewars/GSHandlers.inc Tue Jul 28 12:41:01 2009 +0000 @@ -1010,6 +1010,7 @@ if (Gear^.Elasticity > Gear^.Friction) or ((Gear^.Message and gm_Attack) = 0) +or ((HHGear^.State and gstHHDriven) = 0) or (HHGear^.Damage > 0) then begin with PHedgehog(Gear^.Hedgehog)^.Gear^ do