Fixing teamscore positions
authorblub0 <blub0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Tue, 2 Feb 2010 18:33:38 +0000 (18:33 +0000)
committerblub0 <blub0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Tue, 2 Feb 2010 18:33:38 +0000 (18:33 +0000)
git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8606 f962a42d-fe04-0410-a3ab-8c8b0445ebaa

data/qcsrc/client/sbar.qc

index 62e5f98..7acbbc6 100644 (file)
@@ -1374,10 +1374,10 @@ void Sbar_DrawScoreboard()
                                continue;
 
                        rgb = GetTeamRGB(tm.team);
-                       Sbar_DrawXNum(pos - '6.5 0 0' * sbar_fontsize_y + '0 1 0' * sbar_fontsize_y, tm.(teamscores[ts_primary]), 6, 0, sbar_fontsize_y * 1.5, rgb, 0, 1, sbar_scoreboard_alpha_fg, DRAWFLAG_NORMAL);
+                       Sbar_DrawXNum(pos - '9.5 0 0' * sbar_fontsize_y + '0 1 0' * sbar_fontsize_y, tm.(teamscores[ts_primary]), 6, 0, sbar_fontsize_y * 1.5, rgb, 0, 1, sbar_scoreboard_alpha_fg, DRAWFLAG_NORMAL);
                                
                        if(ts_primary != ts_secondary)
-                               Sbar_DrawXNum(pos - '4.5 0 0' * sbar_fontsize_y + '0 2.5 0' * sbar_fontsize_y, tm.(teamscores[ts_secondary]), 6, 0, sbar_fontsize_y * 1, rgb, 0, 1, sbar_scoreboard_alpha_fg, DRAWFLAG_NORMAL);
+                               Sbar_DrawXNum(pos - '7.5 0 0' * sbar_fontsize_y + '0 2.5 0' * sbar_fontsize_y, tm.(teamscores[ts_secondary]), 6, 0, sbar_fontsize_y * 1, rgb, 0, 1, sbar_scoreboard_alpha_fg, DRAWFLAG_NORMAL);
 
                        pos = Sbar_Scoreboard_MakeTable(pos, tm, rgb, bg_size);
                }