hedgewars/uAmmos.pas
changeset 15442 6031c0cfec89
parent 15364 114b036522a6
child 15698 f681c3f2eeba
child 15783 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);