From da5143af72ea3e1863f7602187270ae336b35763 Mon Sep 17 00:00:00 2001 From: fruitiex Date: Tue, 13 Oct 2009 18:58:22 +0000 Subject: [PATCH] NADZ vote exploit fix git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8121 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/client/sbar.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/qcsrc/client/sbar.qc b/data/qcsrc/client/sbar.qc index e194bde13..db183dd99 100644 --- a/data/qcsrc/client/sbar.qc +++ b/data/qcsrc/client/sbar.qc @@ -2439,7 +2439,7 @@ void Sbar_Draw (void) } 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) -- 2.39.2