hedgewars/uAI.pas
changeset 7078 a3408d9ba5ad
parent 7028 0f60591f3a16
child 7132 baf3351646f4
--- a/hedgewars/uAI.pas	Sun May 13 18:31:05 2012 -0400
+++ b/hedgewars/uAI.pas	Sun May 13 18:50:04 2012 -0400
@@ -115,6 +115,7 @@
     a, aa: TAmmoType;
 begin
 BotLevel:= Me^.Hedgehog^.BotLevel;
+windSpeed:= hwFloat2Float(cWindSpeed);
 
 for i:= 0 to Pred(Targets.Count) do
     if (Targets.ar[i].Score >= 0) and (not StopThinking) then