hedgewars/uGearsList.pas
changeset 7393 3f203c62353b
parent 7389 15c3fb4882df
child 7394 789d7831ec53
--- a/hedgewars/uGearsList.pas	Sun Jul 15 15:35:28 2012 -0400
+++ b/hedgewars/uGearsList.pas	Sun Jul 15 16:56:05 2012 -0400
@@ -92,16 +92,13 @@
 gear^.doStep:= doStepHandlers[Kind];
 gear^.CollisionIndex:= -1;
 gear^.Timer:= Timer;
-gear^.FlightTime:= 0;
 gear^.uid:= GCounter;
 gear^.SoundChannel:= -1;
 gear^.ImpactSound:= sndNone;
-gear^.nImpactSounds:= 0;
 gear^.Density:= _1;
 // Define ammo association, if any.
 gear^.AmmoType:= GearKindAmmoTypeMap[Kind];
 gear^.CollisionMask:= $FFFF;
-gear^.Power:= 0;
 
 if CurrentHedgehog <> nil then gear^.Hedgehog:= CurrentHedgehog;
 
@@ -191,6 +188,7 @@
                 gear^.nImpactSounds:= 1;
                 gear^.Radius:= 10;
                 gear^.Elasticity:= _0_6;
+                gear^.Timer:= 1;
                 end;
          gtBee: begin
                 gear^.Radius:= 5;