hedgewars/uGearsHedgehog.pas
changeset 9971 071902835770
parent 9917 1ca194a8b509
child 9998 736015b847e3
--- a/hedgewars/uGearsHedgehog.pas	Fri Jan 10 22:56:10 2014 +0400
+++ b/hedgewars/uGearsHedgehog.pas	Sun Jan 12 11:07:49 2014 +0400
@@ -881,7 +881,7 @@
         Gear^.State:= Gear^.State and not gstCollision 
         end;
     Gear^.State:= Gear^.State or gstMoving;
-    if (CurrentHedgehog^.Gear = Gear) and (CurrentHedgehog^.Gear^.State and gstHHDriven <> 0) and
+    if (Gear^.State and gstHHDriven <> 0) and
        (not CurrentTeam^.ExtDriven) and (hwSqr(Gear^.dX) + hwSqr(Gear^.dY) > _0_003) then
         begin
         // TODO: why so aggressive at setting FollowGear when falling?