# HG changeset patch # User nemo # Date 1293060583 18000 # Node ID e69becb1ac14c7c514f82380f4ab5d7e4255b446 # Parent d01a953612977a066345ba6c20f476a86897ceae braces fail diff -r d01a95361297 -r e69becb1ac14 hedgewars/HHHandlers.inc --- 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