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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Sep 29 08:34:47 EDT 2009


Author: fruitiex
Date: 2009-09-29 08:34:47 -0400 (Tue, 29 Sep 2009)
New Revision: 7986

Modified:
   trunk/data/qcsrc/client/sbar.qc
Log:
fix weapon icons overlapping the hud background


Modified: trunk/data/qcsrc/client/sbar.qc
===================================================================
--- trunk/data/qcsrc/client/sbar.qc	2009-09-29 12:16:06 UTC (rev 7985)
+++ trunk/data/qcsrc/client/sbar.qc	2009-09-29 12:34:47 UTC (rev 7986)
@@ -76,12 +76,12 @@
 	color_x = color_y = color_z = value;
 
 	// width = 300, height = 100
-	const float w_width = 25, w_height = 12, w_space = 2, font_size = 8;
+	const float w_width = 24, w_height = 12, w_space = 2, font_size = 8;
 
 	sp = weaponspace[idx] + 1;
 	weaponspace[idx] = sp;
 
-	pos_x = (vid_conwidth + 10 - w_width * 9) * 0.5 + w_width * idx;
+	pos_x = (vid_conwidth + 6 - w_width * 9) * 0.5 + w_width * idx;
 	pos_y = (vid_conheight - w_height * sp) - 38; // move 38 pixels up
 	pos_z = 0;
 	vsize_x = w_width;



More information about the nexuiz-commits mailing list