hedgewars/uStore.pas
changeset 14741 37a781d28e43
parent 14738 9423d30ec205
child 14747 7dfc6ed13337
--- a/hedgewars/uStore.pas	Tue Apr 02 01:03:39 2019 +0200
+++ b/hedgewars/uStore.pas	Tue Apr 02 01:34:13 2019 +0200
@@ -326,9 +326,9 @@
 
 for t:= 0 to Pred(ClansCount) do
     with ClansArray[t]^ do
-        HealthTex:= makeHealthBarTexture(cTeamHealthWidth + 5, Teams[0]^.NameTagTex^.h+1, Color);
+        HealthTex:= makeHealthBarTexture(cTeamHealthWidth + 5, 19 * HDPIScaleFactor, Color);
 
-GenericHealthTexture:= makeHealthBarTexture(cTeamHealthWidth + 5, TeamsArray[0]^.NameTagTex^.h+1, cWhiteColor)
+GenericHealthTexture:= makeHealthBarTexture(cTeamHealthWidth + 5, 19 * HDPIScaleFactor, cWhiteColor)
 end;