hedgewars/HHHandlers.inc
changeset 4633 e69becb1ac14
parent 4623 fa24dac6c473
child 4641 43d17e3b81de
--- a/hedgewars/HHHandlers.inc	Wed Dec 22 14:25:25 2010 -0500
+++ b/hedgewars/HHHandlers.inc	Wed Dec 22 18:29:43 2010 -0500
@@ -669,11 +669,11 @@
        Gear^.dY:= Gear^.dY + cGravity;
 // this set of circumstances could be less complex if jumping was more clearly identified
        if ((GameFlags and gfMoreWind) <> 0) and 
-          (Gear^.Damage <> 0) or
+          (((Gear^.Damage <> 0) or
           ((CurAmmoGear <> nil) and
             ((CurAmmoGear^.AmmoType = amJetpack) or
             (CurAmmoGear^.AmmoType = amBirdy))) or
-          ((Gear^.dY.QWordValue + Gear^.dX.QWordValue) > _0_55.QWordValue)
+          ((Gear^.dY.QWordValue + Gear^.dX.QWordValue) > _0_55.QWordValue)))
           then Gear^.dX := Gear^.dX + cWindSpeed * _0_2
        end
    end