# HG changeset patch
# User nemo
# Date 1299617442 18000
# Node ID 2d9a52d6ea2403d93ae60ab22c4c14ad5abdec04
# Parent  905b349af37757f25de6527dd8bea022d1afbbba
Issue #194, turn off followgear for altuse

diff -r 905b349af377 -r 2d9a52d6ea24 hedgewars/HHHandlers.inc
--- a/hedgewars/HHHandlers.inc	Tue Mar 08 22:18:35 2011 +0300
+++ b/hedgewars/HHHandlers.inc	Tue Mar 08 15:50:42 2011 -0500
@@ -321,6 +321,9 @@
                                   end;
                   end;
 
+        // Clear FollowGear if using on a rope/parachute/saucer etc so focus stays with the hog's movement
+        if altUse then FollowGear:= nil;
+
         uStats.AmmoUsed(CurAmmoType);
 
         if not (SpeechText = '') then