changeset 2433 | 332287d62c81 |
parent 2429 | f97bac89f0c5 |
child 2440 | 7274a82fddbb |
--- a/hedgewars/GSHandlers.inc Mon Oct 12 16:58:05 2009 +0000 +++ b/hedgewars/GSHandlers.inc Mon Oct 12 19:33:21 2009 +0000 @@ -2311,6 +2311,8 @@ if (HHGear^.Message and gm_Up) <> 0 then begin + if (not HHGear^.dY.isNegative) or (HHGear^.Y > -_256) then + HHGear^.dY:= HHGear^.dY - move; HHGear^.dY:= HHGear^.dY - move; dec(Gear^.Health, fuel); Gear^.MsgParam:= Gear^.MsgParam or gm_Up;