# HG changeset patch
# User unc0rr
# Date 1212763229 0
# Node ID fc16141a012898106998db68acbea227c2fc604a
# Parent  8b5647def4b5dc477951442cb753245f689ebb6a
Prevent wrong aim direction when using rope after high jump

diff -r 8b5647def4b5 -r fc16141a0128 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)^);