hedgewars/uScript.pas
changeset 13873 26ebbf9717fd
parent 13856 f01798038c2e
child 13881 aa321e51da14
--- a/hedgewars/uScript.pas	Fri Oct 05 23:51:58 2018 +0200
+++ b/hedgewars/uScript.pas	Sat Oct 06 00:23:27 2018 +0200
@@ -1651,7 +1651,7 @@
                vgear^.Text:= lua_tostring(L, 2);
                if Gear^.Kind = gtHedgehog then
                    begin
-                   AddChatString(#9+FormatA(trmsg[sidChatHog], gear^.Hedgehog^.Name, vgear^.text));
+                   AddChatString(#9+Format(trmsg[sidChatHog], gear^.Hedgehog^.Name, vgear^.text));
                    vgear^.Hedgehog:= gear^.Hedgehog
                    end
                else vgear^.Frame:= gear^.uid;