Better handle loosing control when on rope
authorunc0rr
Tue, 28 Jul 2009 12:41:01 +0000
changeset 2280 786fb5d8107d
parent 2279 ef19b949ad30
child 2281 3217f0d8c420
Better handle loosing control when on rope
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