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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Oct 13 14:58:22 EDT 2009


Author: fruitiex
Date: 2009-10-13 14:58:22 -0400 (Tue, 13 Oct 2009)
New Revision: 8121

Modified:
   trunk/data/qcsrc/client/sbar.qc
Log:
NADZ vote exploit fix


Modified: trunk/data/qcsrc/client/sbar.qc
===================================================================
--- trunk/data/qcsrc/client/sbar.qc	2009-10-13 18:43:02 UTC (rev 8120)
+++ trunk/data/qcsrc/client/sbar.qc	2009-10-13 18:58:22 UTC (rev 8121)
@@ -2439,7 +2439,7 @@
 	}
 	if(vote_waiting)
 	{
-		s = strcat("^2A vote has been called for ^1", vote_called_vote);
+		s = strcat("^2A vote has been called for ^1",  textShortenToWidth(vote_called_vote, vid_conwidth/2/sbar_fontsize_x, stringwidth_colors));
 		o = Sbar_DrawNoteLine(o, s);
 
 		if(vote_waiting_for_me)



More information about the nexuiz-commits mailing list