hedgewars/uGearsHandlersMess.pas
changeset 15823 744f4d708963
parent 15822 4ede5e84278a
child 15825 e48c3333c404
equal deleted inserted replaced
15822:4ede5e84278a 15823:744f4d708963
  7352     bullet^.WDTimer := GameTicks;
  7352     bullet^.WDTimer := GameTicks;
  7353     bullet^.PortalCounter := 1;
  7353     bullet^.PortalCounter := 1;
  7354     bullet^.Elasticity := Sentry^.X;
  7354     bullet^.Elasticity := Sentry^.X;
  7355     bullet^.Friction := Sentry^.Y;
  7355     bullet^.Friction := Sentry^.Y;
  7356     bullet^.Data := Pointer(Sentry);
  7356     bullet^.Data := Pointer(Sentry);
       
  7357     bullet^.Hedgehog := Sentry^.Hedgehog;
  7357 
  7358 
  7358     CreateShellForGear(Sentry, Sentry^.WDTimer and 1);
  7359     CreateShellForGear(Sentry, Sentry^.WDTimer and 1);
  7359     PlaySound(sndGun);
  7360     PlaySound(sndGun);
  7360 end;
  7361 end;
  7361 
  7362