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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Aug 26 08:15:53 EDT 2009


Author: fruitiex
Date: 2009-08-26 08:15:53 -0400 (Wed, 26 Aug 2009)
New Revision: 7529

Modified:
   trunk/data/qcsrc/client/sbar.qc
Log:
dynamic placement for the spectator's name according to sbar_fontsize_spec...


Modified: trunk/data/qcsrc/client/sbar.qc
===================================================================
--- trunk/data/qcsrc/client/sbar.qc	2009-08-26 12:08:39 UTC (rev 7528)
+++ trunk/data/qcsrc/client/sbar.qc	2009-08-26 12:15:53 UTC (rev 7529)
@@ -2216,7 +2216,7 @@
 			s = GetPlayerName(spectatee_status - 1);
 		// spectated player name between HUD and chat area, aligned to the left
 		pos_x = bottomleft_x;
-		pos_y = bottom_y - 66;
+		pos_y = bottom_y - 50 - sbar_fontsize_spec_y;
 		s = textShortenToWidth(s, vid_conwidth/2.5/sbar_fontsize_spec_x, stringwidth_colors);
 		drawcolorcodedstring(pos, s, sbar_fontsize_spec, 1, DRAWFLAG_NORMAL);
 



More information about the nexuiz-commits mailing list