hedgewars/uGears.pas
changeset 14878 4e3d81af71bf
parent 14861 acb0526bf458
child 14956 225839af5272
--- a/hedgewars/uGears.pas	Sat May 04 21:03:26 2019 +0200
+++ b/hedgewars/uGears.pas	Sat May 04 21:37:22 2019 +0200
@@ -283,7 +283,7 @@
                     if curHandledGear^.Tex = nil then
                         if (curHandledGear^.Karma = 1) and (not (GameType in [gmtDemo, gmtRecord])) then
                             // Secret mine timer
-                            curHandledGear^.Tex:= RenderStringTex(ansistring(trmsg[sidUnknownGearValue]), $ff808080, fntSmall)
+                            curHandledGear^.Tex:= RenderStringTex(trmsg[sidUnknownGearValue], $ff808080, fntSmall)
                         else
                             begin
                             // Display mine timer with up to 1 decimal point of precision (rounded down)