From b18c790c1162e9c081c6d2e7c960b472b0c101ea Mon Sep 17 00:00:00 2001 From: FruitieX Date: Mon, 22 Nov 2010 18:18:59 +0200 Subject: [PATCH] cl_vyes/cl_vno => vyes/vno --- keybinds.txt | 4 ++-- qcsrc/client/Main.qc | 4 ++-- qcsrc/client/hud.qc | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/keybinds.txt b/keybinds.txt index 7738584dd..1e4a74d66 100644 --- a/keybinds.txt +++ b/keybinds.txt @@ -38,8 +38,8 @@ "messagemode" "public chat" "messagemode2" "team chat" "+con_chat_maximize" "show chat history" -"cl_cmd cl_vyes" "vote YES" -"cl_cmd cl_vno" "vote NO" +"cl_cmd vyes" "vote YES" +"cl_cmd vno" "vote NO" "ready" "ready" "" "" "" "Client" diff --git a/qcsrc/client/Main.qc b/qcsrc/client/Main.qc index 24ab85585..1a3608aa3 100644 --- a/qcsrc/client/Main.qc +++ b/qcsrc/client/Main.qc @@ -608,7 +608,7 @@ void GameCommand(string msg) e.draw = DrawDebugModel; e.classname = "debugmodel"; } - else if(cmd == "cl_vyes") + else if(cmd == "vyes") { if(autocvar_cl_allow_uid2name == -1 && (gametype == GAME_CTS || gametype == GAME_RACE) && panel_fg_alpha && !scoreboard_active) // don't lock keys before we actually see what's going on { @@ -622,7 +622,7 @@ void GameCommand(string msg) localcmd("vyes\n"); } } - else if(cmd == "cl_vno") + else if(cmd == "vno") { if(autocvar_cl_allow_uid2name == -1 && (gametype == GAME_CTS || gametype == GAME_RACE) && panel_fg_alpha && !scoreboard_active) // don't lock keys before we actually see what's going on { diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 7419f52b8..759435e63 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -3943,9 +3943,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 cl_vyes", "cl_cmd cl_vyes"), "): ", ftos(vote_yescount)); + s = strcat("Yes (", getcommandkey("cl_cmd vyes", "cl_cmd 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 cl_vno", "cl_cmd cl_vno"), "): ", ftos(vote_nocount)); + s = strcat("No (", getcommandkey("cl_cmd vno", "cl_cmd 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 -- 2.39.2