hedgewars/uGearsHedgehog.pas
changeset 11272 9621fdcad965
parent 11206 a85b0ef91685
child 11473 2f6f8baa2a97
--- a/hedgewars/uGearsHedgehog.pas	Sun Nov 01 15:06:55 2015 -0500
+++ b/hedgewars/uGearsHedgehog.pas	Sun Nov 01 15:08:39 2015 -0500
@@ -910,6 +910,7 @@
         end;
     Gear^.State:= Gear^.State or gstMoving;
     if (Gear^.State and gstHHDriven <> 0) and
+       (FollowGear <> nil) and
        (not CurrentTeam^.ExtDriven) and (hwSqr(Gear^.dX) + hwSqr(Gear^.dY) > _0_003) then
         begin
         // TODO: why so aggressive at setting FollowGear when falling?