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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Jul 18 13:54:56 EDT 2009


Author: m0rfar
Date: 2009-07-18 13:54:55 -0400 (Sat, 18 Jul 2009)
New Revision: 7235

Modified:
   trunk/data/qcsrc/client/sbar.qc
Log:
small scoreboard fixes

Modified: trunk/data/qcsrc/client/sbar.qc
===================================================================
--- trunk/data/qcsrc/client/sbar.qc	2009-07-18 13:05:00 UTC (rev 7234)
+++ trunk/data/qcsrc/client/sbar.qc	2009-07-18 17:54:55 UTC (rev 7235)
@@ -954,7 +954,7 @@
 		if (sbar_scoreboard_highlight)
 		{
 			if (mod(i,2))
-				drawfill(pos - '0 1 0' - sbar_fontsize_x / 2 * '1 0 0', column_dim, '0 0 0', sbar_scoreboard_alpha_bg * 0.4, DRAWFLAG_NORMAL);
+				drawfill(pos - '0 1 0' - sbar_fontsize_x / 2 * '1 0 0', column_dim, '0 0 0', sbar_scoreboard_alpha_bg * 0.2, DRAWFLAG_NORMAL);
 		}
 		drawstring(pos, sbar_title[i], sbar_fontsize, rgb, 1, DRAWFLAG_NORMAL);
 		pos_x += column_dim_x;
@@ -976,7 +976,7 @@
 			if (sbar_scoreboard_highlight)
 			{
 				if (i == sbar_num_fields-1)
-					column_dim_x = sbar_fontsize_x*sbar_size[i] + sbar_fontsize_x / 2;
+					column_dim_x = sbar_fontsize_x*sbar_size[i] + sbar_fontsize_x / 2 + 1;
 				else
 					column_dim_x = sbar_fontsize_x*sbar_size[i] + sbar_fontsize_x;
 				if (!mod(i,2))
@@ -1067,7 +1067,7 @@
 		//for(tm = sortedTeams.sort_next; tm; tm = tm.sort_next)
 		for(tm = teams.sort_next; tm; tm = tm.sort_next)
 		{
-			if(!tm.team_size || tm.team == COLOR_SPECTATOR)
+			if(tm.team == COLOR_SPECTATOR)
 				continue;
 
 			rgb = GetTeamRGB(tm.team);



More information about the nexuiz-commits mailing list