]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix #2081 "FT: Player numbers are tiny when reaching double digits"
authorterencehill <piuntn@gmail.com>
Mon, 21 Jan 2019 14:47:03 +0000 (15:47 +0100)
committerterencehill <piuntn@gmail.com>
Mon, 21 Jan 2019 14:47:03 +0000 (15:47 +0100)
qcsrc/client/hud/panel/modicons.qc

index 6a905a8d5b00d236ccb2b3cb9979048d56a73097..f4e63043054b12a2a8a3d18105e9c0013ba7e64f 100644 (file)
@@ -41,8 +41,8 @@ void DrawCAItem(vector myPos, vector mySize, float aspect_ratio, int layout, int
 
        if(layout)
        {
-               drawpic_aspect_skin(myPos, pic, vec2(0.7 * mySize.x, mySize.y), '1 1 1', panel_fg_alpha, DRAWFLAG_NORMAL);
-               drawstring_aspect(myPos + eX * 0.7 * mySize.x, ftos(stat), vec2(0.3 * mySize.x, mySize.y), color, panel_fg_alpha, DRAWFLAG_NORMAL);
+               drawpic_aspect_skin(myPos, pic, vec2(0.5 * mySize.x, mySize.y), '1 1 1', panel_fg_alpha, DRAWFLAG_NORMAL);
+               drawstring_aspect(myPos + eX * 0.5 * mySize.x, ftos(stat), vec2(0.5 * mySize.x, mySize.y), color, panel_fg_alpha, DRAWFLAG_NORMAL);
        }
        else
                drawstring_aspect(myPos, ftos(stat), mySize, color, panel_fg_alpha, DRAWFLAG_NORMAL);