hedgewars/uGears.pas
changeset 865 a4a5ec6c61d4
parent 862 7c82903753a4
child 867 dc7901b1120e
equal deleted inserted replaced
864:024369e09a53 865:a4a5ec6c61d4
  1053         while t >= 0 do
  1053         while t >= 0 do
  1054           begin
  1054           begin
  1055           inc(i);
  1055           inc(i);
  1056           dec(t, Ammoz[i].Probability)
  1056           dec(t, Ammoz[i].Probability)
  1057           end;
  1057           end;
       
  1058         PlaySound(sndReinforce, false);
  1058         FollowGear^.Pos:= posCaseAmmo;
  1059         FollowGear^.Pos:= posCaseAmmo;
  1059         FollowGear^.State:= Longword(i)
  1060         FollowGear^.State:= Longword(i)
  1060         end;
  1061         end;
  1061      end;
  1062      end;
  1062 FindPlace(FollowGear, true, 0, 2048)
  1063 FindPlace(FollowGear, true, 0, 2048)