hedgewars/uAI.pas
changeset 15711 975232e840c7
parent 15710 31ca6451056a
child 15712 c4d7eb75fd8a
--- a/hedgewars/uAI.pas	Mon Jul 06 13:51:41 2020 +0200
+++ b/hedgewars/uAI.pas	Mon Jul 06 14:43:19 2020 +0200
@@ -105,7 +105,7 @@
     useThisActions: boolean;
 begin
 BotLevel:= Me^.Hedgehog^.BotLevel;
-windSpeed:= hwFloat2Float(cWindSpeed);
+aiWindSpeed:= hwFloat2Float(cWindSpeed);
 aiLaserSighting:= (cLaserSighting) or (HHHasAmmo(Me^.Hedgehog^, amLaserSight) > 0);
 useThisActions:= false;
 Me^.AIHints:= Me^.AIHints and (not aihAmmosChanged);