From: FruitieX Date: Tue, 30 Nov 2010 11:39:30 +0000 (+0200) Subject: also use vyes/vno only when finding the keybind name X-Git-Tag: xonotic-v0.1.0preview~80^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4c71d6fbf5daf30027ed55cf6bfc4e1cfebdc5e0;p=xonotic%2Fxonotic-data.pk3dir.git also use vyes/vno only when finding the keybind name --- diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index bba9db0b4..48afd9478 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -3982,9 +3982,9 @@ void HUD_VoteWindow(void) drawcolorcodedstring_aspect(pos + eY * (2/8) * mySize_y, s, eX * mySize_x + eY * (1.75/8) * mySize_y, a, DRAWFLAG_NORMAL); // print the yes/no counts - s = strcat("Yes (", getcommandkey("cl_cmd vyes", "cl_cmd vyes"), "): ", ftos(vote_yescount)); + s = strcat("Yes (", getcommandkey("vyes", "vyes"), "): ", ftos(vote_yescount)); drawstring_aspect(pos + eY * (4/8) * mySize_y, s, eX * 0.5 * mySize_x + eY * (1.5/8) * mySize_y, '0 1 0', a, DRAWFLAG_NORMAL); - s = strcat("No (", getcommandkey("cl_cmd vno", "cl_cmd vno"), "): ", ftos(vote_nocount)); + s = strcat("No (", getcommandkey("vno", "vno"), "): ", ftos(vote_nocount)); drawstring_aspect(pos + eX * 0.5 * mySize_x + eY * (4/8) * mySize_y, s, eX * 0.5 * mySize_x + eY * (1.5/8) * mySize_y, '1 0 0', a, DRAWFLAG_NORMAL); // draw the progress bar backgrounds