[nexuiz-commits] r7913 - trunk/data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Sep 25 15:52:32 EDT 2009


Author: div0
Date: 2009-09-25 15:52:32 -0400 (Fri, 25 Sep 2009)
New Revision: 7913

Modified:
   trunk/data/qcsrc/client/sbar.qc
Log:
font fix for accuracy stats screen


Modified: trunk/data/qcsrc/client/sbar.qc
===================================================================
--- trunk/data/qcsrc/client/sbar.qc	2009-09-25 19:48:46 UTC (rev 7912)
+++ trunk/data/qcsrc/client/sbar.qc	2009-09-25 19:52:32 UTC (rev 7913)
@@ -2026,9 +2026,10 @@
 
 	left_border = col_margin + 11 * sbar_fontsize_x;
 
+	drawfont = sbar_font;
+
 	if(warmup_stage)
 	{
-		drawfont = sbar_font;
 		pos_y += 40;
 		if(mod(time, 1) >= 0.4)
 			drawstringcenter(pos, "Stats are not tracked during warmup stage", sbar_fontsize, '1 1 0', sbar_alpha_fg, DRAWFLAG_NORMAL);
@@ -2042,8 +2043,6 @@
 	float top_border_splash = SCOREBOARD_OFFSET + 175;  // position where the splash row starts: pixels down the screen
 	Sbar_DrawAccuracyStats_Description_Splash('1 0 0' * col_margin + '0 1 0' * top_border_splash);
 
-	drawfont = sbar_font;
-
 	for(i = WEP_FIRST; i <= WEP_LAST; ++i)
 	{
 		weapon_hit = weapon_hits[i];



More information about the nexuiz-commits mailing list