minor saucer change Tiy had requested once.
authornemo
Tue, 11 Aug 2009 21:51:36 +0000
changeset 2301 7a4ad0772c88
parent 2300 d633bc70c893
child 2302 0f122917d799
minor saucer change Tiy had requested once.
hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Tue Aug 11 19:56:01 2009 +0000
+++ b/hedgewars/GSHandlers.inc	Tue Aug 11 21:51:36 2009 +0000
@@ -2285,11 +2285,14 @@
 FollowGear:= HHGear;
 OnUsedAmmo(PHedgehog(HHGear^.Hedgehog)^);
 ApplyAmmoChanges(PHedgehog(HHGear^.Hedgehog)^);
-Gear^.State:= Gear^.State or gsttmpFlag;
 with HHGear^ do
 	begin
 	State:= State and not gstAttacking;
 	Message:= Message and not (gm_Attack or gm_Up or gm_Precise or gm_Left or gm_Right);
-    dY:= dY - _0_2
+    if (dY < _0_1) and (dY > -_0_1) then
+        begin
+        Gear^.State:= Gear^.State or gsttmpFlag;
+        dY:= dY - _0_2
+        end
 	end
 end;