hedgewars/HHHandlers.inc
changeset 1072 6bc4389344c7
parent 1066 1f1b3686a2b0
child 1088 9702e17146e6
--- a/hedgewars/HHHandlers.inc	Tue Jul 08 16:01:45 2008 +0000
+++ b/hedgewars/HHHandlers.inc	Tue Jul 08 16:49:51 2008 +0000
@@ -237,8 +237,9 @@
        posCaseAmmo: begin
                     a:= TAmmoType(Gear^.State);
                     AddAmmo(PHedgehog(HH^.Hedgehog)^, a);
-                    if not (PHedgehog(HH^.Hedgehog)^.Team^.ExtDriven
-                      or (PHedgehog(HH^.Hedgehog)^.BotLevel > 0)) then
+                    if (not (PHedgehog(HH^.Hedgehog)^.Team^.ExtDriven
+                      or (PHedgehog(HH^.Hedgehog)^.BotLevel > 0)))
+                    or (GameType = gmtDemo)  then
                        begin
                        s:= trammo[Ammoz[a].NameId] + '(+' + IntToStr(Ammoz[a].NumberInCase) + ')';
                        AddCaption(s, PHedgehog(HH^.Hedgehog)^.Team^.Clan^.Color, capgrpAmmoinfo);