]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
use drawcolorcodedstring_aspect in the vote window
authorFruitieX <rasse@rasse-lappy.localdomain>
Wed, 7 Jul 2010 18:08:46 +0000 (21:08 +0300)
committerFruitieX <rasse@rasse-lappy.localdomain>
Wed, 7 Jul 2010 18:08:46 +0000 (21:08 +0300)
qcsrc/client/hud.qc

index 4a5630f833554ff2c0a478c4821b84f5d919e4bf..71cce610eff246a722529a26c1a08bd57973ee03 100644 (file)
@@ -3546,8 +3546,8 @@ void HUD_VoteWindow(void)
        drawstring_aspect(pos, s, eX * mySize_x + eY * (2/8) * mySize_y, '1 1 1', a * panel_fg_alpha, DRAWFLAG_NORMAL);
        s = textShortenToWidth(vote_called_vote, mySize_x, '1 1 0' * mySize_y * (1.75/8), stringwidth_colors);
        if(autocvar__hud_configure)
-               s = "Configure the HUD";
-       drawstring_aspect(pos + eY * (2/8) * mySize_y, s, eX * mySize_x + eY * (1.75/8) * mySize_y, '1 1 1', a * panel_fg_alpha, DRAWFLAG_NORMAL);
+               s = "^1Configure the HUD";
+       drawcolorcodedstring_aspect(pos + eY * (2/8) * mySize_y, s, eX * mySize_x + eY * (1.75/8) * mySize_y, a * panel_fg_alpha, DRAWFLAG_NORMAL);
 
        // print the yes/no counts
        s = strcat("Yes (", getcommandkey("not bound", "vyes"), "): ", ftos(vote_yescount));