hedgewars/uGearsUtils.pas
changeset 14313 1d4f1d700cdc
parent 14303 6015b74eea55
child 14357 9e8e64b2bb9e
--- a/hedgewars/uGearsUtils.pas	Sat Nov 24 23:54:32 2018 +0100
+++ b/hedgewars/uGearsUtils.pas	Sun Nov 25 00:23:32 2018 +0100
@@ -179,7 +179,7 @@
                                 Gear^.State:= (Gear^.State or gstMoving) and (not gstLoser);
                                 if Gear^.Kind = gtKnife then Gear^.State:= Gear^.State and (not gstCollision);
                                 if (Gear^.Kind = gtHedgehog) and (Gear^.Hedgehog^.Effects[heInvulnerable] = 0) then
-                                    Gear^.State:= (Gear^.State or gstMoving) and (not gstWinner);
+                                    Gear^.State:= (Gear^.State or gstMoving) and (not (gstWinner or gstHHJumping or gstHHHJump));
                                 Gear^.Active:= true;
                                 if Gear^.Kind <> gtFlame then FollowGear:= Gear;
                                 if Gear^.Kind = gtAirMine then