hedgewars/uGears.pas
changeset 4299 d23f8a25fc3f
parent 4295 1f5604cd99be
child 4313 0690067bc5ff
equal deleted inserted replaced
4297:88714b6f3676 4299:d23f8a25fc3f
   296      gtClusterBomb,
   296      gtClusterBomb,
   297      gtGasBomb: begin
   297      gtGasBomb: begin
   298                 gear^.ImpactSound:= sndGrenadeImpact;
   298                 gear^.ImpactSound:= sndGrenadeImpact;
   299                 gear^.nImpactSounds:= 1;
   299                 gear^.nImpactSounds:= 1;
   300                 gear^.AdvBounce:= 1;
   300                 gear^.AdvBounce:= 1;
   301                 gear^.Radius:= 6;
   301                 gear^.Radius:= 5;
   302                 gear^.Elasticity:= _0_8;
   302                 gear^.Elasticity:= _0_8;
   303                 gear^.Friction:= _0_8;
   303                 gear^.Friction:= _0_8;
   304                 gear^.RenderTimer:= true;
   304                 gear^.RenderTimer:= true;
   305                 if gear^.Timer = 0 then gear^.Timer:= 3000
   305                 if gear^.Timer = 0 then gear^.Timer:= 3000
   306                 end;
   306                 end;
   307   gtWatermelon: begin
   307   gtWatermelon: begin
   308                 gear^.ImpactSound:= sndMelonImpact;
   308                 gear^.ImpactSound:= sndMelonImpact;
   309                 gear^.nImpactSounds:= 1;
   309                 gear^.nImpactSounds:= 1;
   310                 gear^.AdvBounce:= 1;
   310                 gear^.AdvBounce:= 1;
   311                 gear^.Radius:= 4;
   311                 gear^.Radius:= 6;
   312                 gear^.Elasticity:= _0_8;
   312                 gear^.Elasticity:= _0_8;
   313                 gear^.Friction:= _0_995;
   313                 gear^.Friction:= _0_995;
   314                 gear^.RenderTimer:= true;
   314                 gear^.RenderTimer:= true;
   315                 if gear^.Timer = 0 then gear^.Timer:= 3000
   315                 if gear^.Timer = 0 then gear^.Timer:= 3000
   316                 end;
   316                 end;