hedgewars/uGearsHedgehog.pas
changeset 9501 dc3d658de350
parent 9499 bbc093acb91e
child 9507 821452415337
--- a/hedgewars/uGearsHedgehog.pas	Mon Oct 07 21:31:47 2013 -0400
+++ b/hedgewars/uGearsHedgehog.pas	Tue Oct 08 10:28:57 2013 +0400
@@ -848,7 +848,7 @@
     if (Gear^.dY.isNegative) and TestCollisionYKick(Gear, -1) then
         Gear^.dY:= _0;
     Gear^.State:= Gear^.State or gstMoving;
-    if (CurrentHedgehog^.Gear = Gear) and (CurrentHedgehog^.Gear^.State and gstDriven <> 0) and
+    if (CurrentHedgehog^.Gear = Gear) and (CurrentHedgehog^.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?