]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
It seems like I didn't remove completely centerprint_start
authorterencehill <piuntn@gmail.com>
Fri, 1 Jul 2011 11:16:04 +0000 (13:16 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 1 Jul 2011 11:16:04 +0000 (13:16 +0200)
qcsrc/client/hud.qh
qcsrc/client/scoreboard.qc

index 17740589178780953ed99a6050ef6733443405f9..53b920ede596caa81fb98121a6cbb879e365a9f4 100644 (file)
@@ -1,7 +1,5 @@
 float log(float f);
 
-vector centerprint_start;
-
 float panel_order[HUD_PANEL_NUM];
 string hud_panelorder_prev;
 
index 8e024ead5b0c7fdeb36865a802c9378bf55ba7bf..8d2436d100019623d91e581bd58844cfeaa2ff5a 100644 (file)
@@ -1163,9 +1163,6 @@ void HUD_DrawScoreboard()
 
        // Heading
        drawstring(pos, _("Scoreboard"), '24 24 0', '1 1 1', scoreboard_alpha_fg, DRAWFLAG_NORMAL);
-       
-       centerprint_start_x = vid_conwidth - 0.5 * (pos_x + stringwidth(_("Scoreboard"), FALSE, '24 24 0'));
-       centerprint_start_y = pos_y;
 
        pos_y += 24;