[nexuiz-commits] r7238 - trunk/data/qcsrc/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sun Jul 19 11:15:17 EDT 2009
Author: m0rfar
Date: 2009-07-19 11:15:17 -0400 (Sun, 19 Jul 2009)
New Revision: 7238
Modified:
trunk/data/qcsrc/client/sbar.qc
Log:
Correctly display all the scoreboard columns (#428)
Modified: trunk/data/qcsrc/client/sbar.qc
===================================================================
--- trunk/data/qcsrc/client/sbar.qc 2009-07-19 10:11:52 UTC (rev 7237)
+++ trunk/data/qcsrc/client/sbar.qc 2009-07-19 15:15:17 UTC (rev 7238)
@@ -966,12 +966,7 @@
{
if(sbar_field[i] == SP_SEPARATOR)
break;
- /**
- * FTEQCC BUG!
- * Using strlen(sbar_title[i])*8 instead of
- * stringwidth(sbar_title[i], FALSE) will mess it all up
- */
- pos_x -= stringwidth(sbar_title[i], FALSE)*sbar_fontsize_x;
+ pos_x -= sbar_size[i]*sbar_fontsize_x;
if (sbar_scoreboard_highlight)
{
More information about the nexuiz-commits
mailing list