# HG changeset patch # User unc0rr # Date 1452709744 -10800 # Node ID 64c1ea171204564244d35fbf41328c1b67aa9a98 # Parent 6a5bdf930edf0de4eb4c0e2df00bf68aa6fec580 Damaged hog is not in a jumping state diff -r 6a5bdf930edf -r 64c1ea171204 hedgewars/uGearsHedgehog.pas --- a/hedgewars/uGearsHedgehog.pas Wed Jan 13 19:54:55 2016 +0300 +++ b/hedgewars/uGearsHedgehog.pas Wed Jan 13 21:29:04 2016 +0300 @@ -936,6 +936,7 @@ land:= TestCollisionYwithGear(Gear, 1); if ((Gear^.dX.QWordValue + Gear^.dY.QWordValue) < _0_55.QWordValue) and ((land and lfIce) = 0) and ((land and lfBouncy = 0) or (Gear^.State and gstCollision <> 0)) + and (Gear^.Damage = 0) and ((Gear^.State and gstHHJumping) <> 0) then SetLittle(Gear^.dX);