From 4c71d6fbf5daf30027ed55cf6bfc4e1cfebdc5e0 Mon Sep 17 00:00:00 2001
From: FruitieX <fruitiex@gmail.com>
Date: Tue, 30 Nov 2010 13:39:30 +0200
Subject: [PATCH] also use vyes/vno only when finding the keybind name

---
 qcsrc/client/hud.qc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
-- 
2.39.5