do the same thing for the chute/birdy/saucer block 0.9.22-release

Sun, 01 Nov 2015 15:08:39 -0500

author
nemo
date
Sun, 01 Nov 2015 15:08:39 -0500
changeset 11267
9621fdcad965
parent 11266
31e0e38e703c
child 11268
096811aa3c55

do the same thing for the chute/birdy/saucer block

hedgewars/uGearsHedgehog.pas file | annotate | diff | comparison | revisions
--- 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?

mercurial