Prevent wrong aim direction when using rope after high jump
authorunc0rr
Fri, 06 Jun 2008 14:40:29 +0000
changeset 974 fc16141a0128
parent 973 8b5647def4b5
child 975 47982e63c9f6
Prevent wrong aim direction when using rope after high jump
hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Tue Jun 03 19:59:12 2008 +0000
+++ b/hedgewars/GSHandlers.inc	Fri Jun 06 14:40:29 2008 +0000
@@ -740,7 +740,7 @@
 if (Gear^.State and gstCollision) <> 0 then
 	begin
 	Gear^.doStep:= @doStepRopeWork;
-	with HHGear^ do State:= State and not gstAttacking;
+	with HHGear^ do State:= State and not (gstAttacking or gstHHHJump);
 
 	OnUsedAmmo(PHedgehog(HHGear^.Hedgehog)^);
 	ApplyAmmoChanges(PHedgehog(HHGear^.Hedgehog)^);