hedgewars/uGearsUtils.pas
changeset 12176 29f1ea94488b
parent 12169 869cf5f34700
child 12177 bfeeb1c35e77
--- a/hedgewars/uGearsUtils.pas	Thu Apr 06 22:34:02 2017 +0200
+++ b/hedgewars/uGearsUtils.pas	Thu Apr 06 23:28:13 2017 +0200
@@ -183,7 +183,8 @@
                                     if Gear^.Hedgehog^.Effects[hePoisoned] = 0 then
                                         begin
                                         s:= ansistring(Gear^.Hedgehog^.Name);
-                                        AddCaption(FormatA(GetEventString(eidPoisoned), s), cWhiteColor, capgrpMessage)
+                                        AddCaption(FormatA(GetEventString(eidPoisoned), s), cWhiteColor, capgrpMessage);
+                                        uStats.HedgehogPoisoned(Gear, AttackingHog)
                                         end;
                                     Gear^.Hedgehog^.Effects[hePoisoned] := 5;
                                     end