Only FollowGear for the pilot.
authornemo
Wed, 27 Oct 2010 11:39:05 -0400
changeset 4005 3a42cd3cc27f
parent 4002 3e173ac63849
child 4007 c76c895825ab
Only FollowGear for the pilot.
hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Wed Oct 27 00:24:03 2010 -0400
+++ b/hedgewars/GSHandlers.inc	Wed Oct 27 11:39:05 2010 -0400
@@ -3051,7 +3051,7 @@
     Gear^.X := HHGear^.X;
     Gear^.Y := HHGear^.Y;
     // For some reason I need to reapply followgear here, something else grabs it otherwise.
-    if not bShowAmmoMenu then FollowGear := HHGear;
+    if not bShowAmmoMenu and not CurrentTeam^.ExtDriven then FollowGear := HHGear;
 
     if ((Gear^.State and gsttmpFlag) = 0) or (HHGear^.dY < _0) then doStepHedgehogMoving(HHGear);