hedgewars/HHHandlers.inc
changeset 6331 27b82275dc34
parent 6304 3036c242b19d
child 6333 350490edcd11
--- a/hedgewars/HHHandlers.inc	Sat Nov 12 11:02:02 2011 -0500
+++ b/hedgewars/HHHandlers.inc	Sat Nov 12 12:41:12 2011 -0500
@@ -1131,7 +1131,7 @@
 if (Gear^.Message and (gmAllStoppable or gmLJump or gmHJump) = 0) and
    (Gear^.State and (gstHHJumping or gstHHHJump or gstAttacking) = 0) and
    not Gear^.dY.isNegative and
-   (GameTicks mod (100*hwRound(cMaxWindSpeed/(cGravity/2))) = 0) and 
+   (GameTicks mod (100*hwRound(cMaxWindSpeed*2/cGravity)) = 0) and 
    (TestCollisionYwithGear(Gear, 1) and lfIce <> 0) then
     begin
     slope:= CalcSlopeBelowGear(Gear);