enable bounce on rubber for air bombs. give them the missing elasticity they needed for the code there to work properly.
authornemo
Fri, 03 Apr 2015 16:46:14 -0400
changeset 10891 a4c454ef80a6
parent 10889 f7200e614295
child 10893 b085cf83ab4c
enable bounce on rubber for air bombs. give them the missing elasticity they needed for the code there to work properly.
hedgewars/uGearsList.pas
--- a/hedgewars/uGearsList.pas	Fri Apr 03 16:39:09 2015 -0400
+++ b/hedgewars/uGearsList.pas	Fri Apr 03 16:46:14 2015 -0400
@@ -468,8 +468,11 @@
                 gear^.Tint:= gear^.Hedgehog^.Team^.Clan^.Color shl 8 or $FF
                 end;
      gtAirBomb: begin
+                gear^.AdvBounce:= 1;
                 gear^.Radius:= 5;
                 gear^.Density:= _2;
+                gear^.Elasticity:= _0_55;
+                gear^.Friction:= _0_995
                 end;
    gtBlowTorch: begin
                 gear^.Radius:= cHHRadius + cBlowTorchC;