hedgewars/uGearsHedgehog.pas
changeset 11852 38e7206a5df4
parent 11827 4600dcb9db4f
child 11853 6a0d6b00dac8
--- a/hedgewars/uGearsHedgehog.pas	Thu Sep 15 23:16:49 2016 +0200
+++ b/hedgewars/uGearsHedgehog.pas	Fri Sep 16 00:01:43 2016 +0200
@@ -660,10 +660,7 @@
     if cnt <> 0 then AddAmmo(HH, ammo, cnt)
     else AddAmmo(HH, ammo);
 
-    if (not (HH.Team^.ExtDriven
-    or (HH.BotLevel > 0)))
-    or (HH.Team^.Clan^.ClanIndex = LocalClan)
-    or (GameType = gmtDemo)  then
+    if IsHogLocal(@HH) or (GameType = gmtDemo)  then
         begin
         if cnt <> 0 then
             s:= trammo[Ammoz[ammo].NameId] + ansistring(' (+' + IntToStr(cnt) + ')')