equal
deleted
inserted
replaced
103 Score, i, t, n, dAngle: LongInt; |
103 Score, i, t, n, dAngle: LongInt; |
104 a, aa: TAmmoType; |
104 a, aa: TAmmoType; |
105 useThisActions: boolean; |
105 useThisActions: boolean; |
106 begin |
106 begin |
107 BotLevel:= Me^.Hedgehog^.BotLevel; |
107 BotLevel:= Me^.Hedgehog^.BotLevel; |
108 windSpeed:= hwFloat2Float(cWindSpeed); |
108 aiWindSpeed:= hwFloat2Float(cWindSpeed); |
109 aiLaserSighting:= (cLaserSighting) or (HHHasAmmo(Me^.Hedgehog^, amLaserSight) > 0); |
109 aiLaserSighting:= (cLaserSighting) or (HHHasAmmo(Me^.Hedgehog^, amLaserSight) > 0); |
110 useThisActions:= false; |
110 useThisActions:= false; |
111 Me^.AIHints:= Me^.AIHints and (not aihAmmosChanged); |
111 Me^.AIHints:= Me^.AIHints and (not aihAmmosChanged); |
112 |
112 |
113 for i:= 0 to Pred(Targets.Count) do |
113 for i:= 0 to Pred(Targets.Count) do |