Issue #194, turn off followgear for altuse
authornemo
Tue, 08 Mar 2011 15:50:42 -0500
changeset 4994 2d9a52d6ea24
parent 4993 905b349af377
child 4995 d3ca68e4860e
issue #194, turn off followgear for altuse
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