hedgewars/uGearsUtils.pas
changeset 15869 2839b68a3732
parent 15864 4172debdff61
child 15926 7f3d7f015aa5
--- a/hedgewars/uGearsUtils.pas	Tue May 10 00:19:52 2022 +0300
+++ b/hedgewars/uGearsUtils.pas	Tue May 10 02:59:11 2022 +0300
@@ -183,6 +183,8 @@
                                     if (not GameOver) then
                                         Gear^.State:= (Gear^.State and (not gstWinner));
                                     end;
+                                if Gear^.Kind = gtSentry then
+                                    Gear^.State:= Gear^.State and (not gstHHJumping);
                                 Gear^.Active:= true;
                                 if Gear^.Kind <> gtFlame then FollowGear:= Gear;
                                 if Gear^.Kind = gtAirMine then