]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Different team scores in hud config mode
authorterencehill <piuntn@gmail.com>
Tue, 3 May 2011 20:42:24 +0000 (22:42 +0200)
committerterencehill <piuntn@gmail.com>
Tue, 3 May 2011 20:48:43 +0000 (22:48 +0200)
qcsrc/client/hud.qc

index 0dc72215a8ef259e3ba74eb9a0f446e28dfece35..91256b9c5d566bb9d1d900368ceb53688992766e 100644 (file)
@@ -2609,7 +2609,7 @@ void HUD_Score_Rankings(vector pos, vector mySize, entity me, float team_count)
                        for(i=0; i<team_count; ++i) {
                                if (i == floor((entries - 2) / players_per_team) || (entries == 1 && i == 0))
                                        HUD_Panel_DrawHighlight(pos + eX * score_size * i, eX * score_size + eY * fontsize_y, '1 1 1', panel_fg_alpha, DRAWFLAG_NORMAL);
-                               drawstring_aspect(pos + eX * score_size * i, ftos(123), eX * score_size + eY * fontsize_y, GetTeamRGB(ColorByTeam(i)) * 0.8, panel_fg_alpha, DRAWFLAG_NORMAL);
+                               drawstring_aspect(pos + eX * score_size * i, ftos(175 - 23*i), eX * score_size + eY * fontsize_y, GetTeamRGB(ColorByTeam(i)) * 0.8, panel_fg_alpha, DRAWFLAG_NORMAL);
                        }
                        first_pl = 1;
                        pos_y += fontsize_y;