--- a/hedgewars/uStore.pas Sun Feb 26 18:13:26 2012 -0500
+++ b/hedgewars/uStore.pas Mon Feb 27 19:01:44 2012 -0500
@@ -133,7 +133,7 @@
for t:= 0 to Pred(TeamsCount) do
with TeamsArray[t]^ do
begin
- NameTagTex:= RenderStringTex(TeamName, Clan^.Color, Font);
+ NameTagTex:= RenderStringTex(TeamName, Clan^.Color, Font, cTeamHealthWidth);
r.w:= cTeamHealthWidth + 5;
r.h:= NameTagTex^.h;
@@ -199,7 +199,7 @@
with Hedgehogs[i] do
if Gear <> nil then
begin
- NameTagTex:= RenderStringTex(Name, Clan^.Color, fnt16);
+ NameTagTex:= RenderStringTex(Name, Clan^.Color, fnt16, cTeamHealthWidth);
if Hat <> 'NoHat' then
begin
if (Length(Hat) > 39) and (Copy(Hat,1,8) = 'Reserved') and (Copy(Hat,9,32) = PlayerHash) then