From dffb2ef4d2cee9a7e628c34f586d04c0beb23b67 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 15 Dec 2012 17:13:43 +0100 Subject: [PATCH] Fix hud_showbinds_limit, it allowed to display only 1 bind --- qcsrc/client/Main.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qcsrc/client/Main.qc b/qcsrc/client/Main.qc index 835d2855e..ca402e4f7 100644 --- a/qcsrc/client/Main.qc +++ b/qcsrc/client/Main.qc @@ -1241,7 +1241,8 @@ string getcommandkey(string text, string command) keys = strcat(keys, ", ", keynumtostring(k)); ++l; - if (autocvar_hud_showbinds_limit > 0 && autocvar_hud_showbinds_limit >= l) break; + if (autocvar_hud_showbinds_limit > 0 && autocvar_hud_showbinds_limit <= l) + break; } } -- 2.39.2