hedgewars/uGearsHandlersRope.pas
changeset 12824 3fc7569c1203
parent 12705 16fcd59295e3
child 12826 f3e07e53460d
--- a/hedgewars/uGearsHandlersRope.pas	Wed Nov 01 22:49:54 2017 -0400
+++ b/hedgewars/uGearsHandlersRope.pas	Fri Nov 03 02:23:41 2017 +0100
@@ -66,8 +66,6 @@
     or (TestCollisionYwithGear(HHGear, 1) <> 0) then
         begin
         DeleteGear(Gear);
-        if (TestCollisionYwithGear(HHGear, 1) <> 0) and (GetAmmoEntry(HHGear^.Hedgehog^, amRope)^.Count >= 1) and ((Ammoz[HHGear^.Hedgehog^.CurAmmoType].Ammo.Propz and ammoprop_AltUse) <> 0) then
-            SetWeapon(amRope);
         isCursorVisible := false;
         ApplyAmmoChanges(HHGear^.Hedgehog^);
         exit