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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jun 24 20:16:02 EDT 2009


Author: tzork
Date: 2009-06-24 20:16:01 -0400 (Wed, 24 Jun 2009)
New Revision: 7100

Modified:
   trunk/data/qcsrc/client/sbar.qc
Log:
#367 - Timer team background bugfix
patch by FruitieX.

Modified: trunk/data/qcsrc/client/sbar.qc
===================================================================
--- trunk/data/qcsrc/client/sbar.qc	2009-06-24 23:55:08 UTC (rev 7099)
+++ trunk/data/qcsrc/client/sbar.qc	2009-06-25 00:16:01 UTC (rev 7100)
@@ -1387,7 +1387,7 @@
 
 		if (cvar("viewsize") <= 100) { // draw timer background when viewsize <= 100
 			if (teamplay)
-				drawpic(bgpos, "gfx/hud/sb_timerbg", '120 30 0', GetTeamRGB(myteam), sbar_alpha_bg, 0); // timer bg color = myteam color
+				drawpic(bgpos, "gfx/hud/sb_timerbg", '120 30 0', GetTeamRGB(myteam) * cvar("sbar_color_bg_team"), sbar_alpha_bg, 0); // timer bg color = myteam color
 			else {
 				color_x = cvar("sbar_color_bg_r");
 				color_y = cvar("sbar_color_bg_g");



More information about the nexuiz-commits mailing list