hedgewars/uTeams.pas
changeset 15466 6031c0cfec89
parent 15359 63372e3879df
--- a/hedgewars/uTeams.pas	Fri Oct 04 23:23:35 2019 +0300
+++ b/hedgewars/uTeams.pas	Mon Oct 07 14:18:31 2019 +0200
@@ -393,6 +393,8 @@
 CurWeapon:= GetCurAmmoEntry(CurrentHedgehog^);
 if CurWeapon^.Count = 0 then
     CurrentHedgehog^.CurAmmoType:= amNothing;
+if CurrentHedgehog^.BotLevel <> 0 then
+    CurrentHedgehog^.Gear^.AIHints:= (CurrentHedgehog^.Gear^.AIHints and (not aihAmmosChanged));
 
 with CurrentHedgehog^ do
     begin