hedgewars/uGearsHedgehog.pas
changeset 9539 ab44d44a6177
parent 9526 2fd51591b260
child 9579 1f20cc6a642a
--- a/hedgewars/uGearsHedgehog.pas	Sun Oct 13 23:23:43 2013 +0200
+++ b/hedgewars/uGearsHedgehog.pas	Mon Oct 14 00:33:10 2013 -0400
@@ -1281,7 +1281,7 @@
 if WorldWrap(Gear) then
     begin
     if (WorldEdge <> weBounce) and (Gear = CurrentHedgehog^.Gear) and 
-       (CurAmmoGear <> nil) and (CurAmmoGear^.Kind =gtRope) then
+       (CurAmmoGear <> nil) and (CurAmmoGear^.Kind =gtRope) and (CurAmmoGear^.Elasticity <> _0) then
        CurAmmoGear^.PortalCounter:= 1;
     if (WorldEdge = weWrap) and (TestCollisionXwithGear(Gear, 1) or TestCollisionXwithGear(Gear, -1))  then
         begin