hedgewars/GSHandlers.inc
changeset 2339 f1bbcca1ae07
parent 2331 e4941a7986d6
child 2358 d4a9c309eb14
--- a/hedgewars/GSHandlers.inc	Sun Aug 30 13:53:27 2009 +0000
+++ b/hedgewars/GSHandlers.inc	Sun Aug 30 16:30:18 2009 +0000
@@ -964,7 +964,7 @@
 		begin
 		CheckHHDamage(HHGear);
 		HHGear^.dY:= _0;
-		HHGear^.State:= HHGear^.State and not (gstHHJumping or gstHHHJump);
+		//HHGear^.State:= HHGear^.State and not (gstHHJumping or gstHHHJump);
 		end else
 		begin
 		HHGear^.Y:= HHGear^.Y + HHGear^.dY;
@@ -982,7 +982,7 @@
 				Gear^.Y:= Gear^.Y + ty;
 				Gear^.Elasticity:= tt;
 				Gear^.doStep:= @doStepRopeWork;
-				with HHGear^ do State:= State and not (gstAttacking or gstMoving or gstHHHJump);
+				with HHGear^ do State:= State and not (gstAttacking or gstHHJumping or gstHHHJump);
 				
 				RemoveFromAmmo;
 				
@@ -1004,7 +1004,7 @@
 	else
 		begin
 		Gear^.doStep:= @doStepRopeWork;
-		with HHGear^ do State:= State and not (gstAttacking or gstHHHJump);
+		with HHGear^ do State:= State and not (gstAttacking or gstHHJumping or gstHHHJump);
 
 		RemoveFromAmmo;