hedgewars/uAmmos.pas
changeset 15466 6031c0cfec89
parent 15385 114b036522a6
child 15720 f681c3f2eeba
child 15805 23e16f33b528
--- a/hedgewars/uAmmos.pas	Fri Oct 04 23:23:35 2019 +0300
+++ b/hedgewars/uAmmos.pas	Mon Oct 07 14:18:31 2019 +0200
@@ -265,7 +265,9 @@
         begin
         PackAmmo(Ammo, Ammoz[AmmoType].Slot);
         CurAmmoType:= amNothing
-        end
+        end;
+if Hedgehog.BotLevel <> 0 then
+    Hedgehog.Gear^.AIHints := Hedgehog.Gear^.AIHints or aihAmmosChanged;
 end;
 
 procedure PackAmmo(Ammo: PHHAmmo; Slot: LongInt);