hedgewars/uGearsHandlersMess.pas
changeset 15699 785c1af0bf87
parent 15692 dc965b82ed13
child 15716 2a69c6693fbb
--- a/hedgewars/uGearsHandlersMess.pas	Sun Jul 05 20:29:37 2020 +0200
+++ b/hedgewars/uGearsHandlersMess.pas	Sun Jul 05 20:36:27 2020 +0200
@@ -3299,6 +3299,9 @@
         Gear^.Karma := 0;
         end;
 
+    if (GameFlags and gfInfAttack) = 0 then
+        FollowGear:= Gear;
+
 end;
 
 ////////////////////////////////////////////////////////////////////////////////