hedgewars/uGears.pas
changeset 5319 51d8e4747876
parent 5316 191cd6c06203
child 5343 ff7ecf483759
child 5348 0bc81de36e08
--- a/hedgewars/uGears.pas	Sun Jun 26 13:38:47 2011 -0400
+++ b/hedgewars/uGears.pas	Sun Jun 26 15:23:45 2011 -0400
@@ -602,18 +602,6 @@
                 end;
     end;
 
-if ((Ammoz[gear^.AmmoType].Ammo.Propz and ammoprop_SetBounce) <> 0) and (CurrentHedgehog <> nil) then 
-    if CurrentHedgehog^.Bounce < _1 then 
-        begin
-        gear^.Elasticity:= gear^.Elasticity * CurrentHedgehog^.Bounce;
-        gear^.Friction:= gear^.Friction * CurrentHedgehog^.Bounce
-        end
-    else 
-        begin
-        gear^.Elasticity:= _1 - ((_1-gear^.Elasticity) / CurrentHedgehog^.Bounce);
-        gear^.Friction:= _1 - ((_1-gear^.Friction) / CurrentHedgehog^.Bounce);
-        end;
-
 InsertGearToList(gear);
 AddGear:= gear;