hedgewars/GSHandlers.inc
changeset 2262 0dc94341bf42
parent 2228 7f4613bae01a
child 2267 ad372e549cc5
equal deleted inserted replaced
2261:57e99c908e7c 2262:0dc94341bf42
  1611 
  1611 
  1612 doStepFallingGear(Gear);
  1612 doStepFallingGear(Gear);
  1613 if (Gear^.State and gstCollision) <> 0 then
  1613 if (Gear^.State and gstCollision) <> 0 then
  1614 	begin
  1614 	begin
  1615 	doMakeExplosion(hwRound(Gear^.X), hwRound(Gear^.Y), 20, EXPLAutoSound);
  1615 	doMakeExplosion(hwRound(Gear^.X), hwRound(Gear^.Y), 20, EXPLAutoSound);
       
  1616 	soundFadeOut(sndMortar,10,nil);
  1616 
  1617 
  1617 	Gear^.dX.isNegative:= not dxn;
  1618 	Gear^.dX.isNegative:= not dxn;
  1618 	Gear^.dY.isNegative:= not dyn;
  1619 	Gear^.dY.isNegative:= not dyn;
  1619 	for i:= 0 to 4 do
  1620 	for i:= 0 to 4 do
  1620 		begin
  1621 		begin