hedgewars/uAmmos.pas
changeset 10105 8c5fa1d15bd5
parent 10015 4feced261c68
child 10108 c68cf030eded
--- a/hedgewars/uAmmos.pas	Tue Feb 04 15:23:37 2014 +0100
+++ b/hedgewars/uAmmos.pas	Tue Feb 04 16:35:31 2014 +0100
@@ -398,7 +398,7 @@
             s:= s + ' (' + IntToStr(Count) + ')';
         if (Propz and ammoprop_Timerable) <> 0 then
             s:= s + ', ' + IntToStr(Timer div 1000) + ' ' + trammo[sidSeconds];
-        AddCaption(s, Team^.Clan^.Color, capgrpAmmoinfo);
+        AddCaption(Str2PChar(s), Team^.Clan^.Color, capgrpAmmoinfo);
         if (Propz and ammoprop_NeedTarget) <> 0 then
             begin
             if Gear <> nil then Gear^.State:= Gear^.State or      gstHHChooseTarget;