hedgewars/uAI.pas
changeset 7078 a3408d9ba5ad
parent 7028 0f60591f3a16
child 7132 baf3351646f4
equal deleted inserted replaced
7077:74b0265d79e8 7078:a3408d9ba5ad
   113     ap: TAttackParams;
   113     ap: TAttackParams;
   114     Score, i: LongInt;
   114     Score, i: LongInt;
   115     a, aa: TAmmoType;
   115     a, aa: TAmmoType;
   116 begin
   116 begin
   117 BotLevel:= Me^.Hedgehog^.BotLevel;
   117 BotLevel:= Me^.Hedgehog^.BotLevel;
       
   118 windSpeed:= hwFloat2Float(cWindSpeed);
   118 
   119 
   119 for i:= 0 to Pred(Targets.Count) do
   120 for i:= 0 to Pred(Targets.Count) do
   120     if (Targets.ar[i].Score >= 0) and (not StopThinking) then
   121     if (Targets.ar[i].Score >= 0) and (not StopThinking) then
   121         begin
   122         begin
   122         with Me^.Hedgehog^ do
   123         with Me^.Hedgehog^ do