From 9d51d47cea8f56dc5d33a6204bdacd67f0acd902 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 24 Jan 2009 12:16:02 +0000 Subject: added tab completion to the console. works for local and remote --- src/game/client/components/voting.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/client/components/voting.cpp') diff --git a/src/game/client/components/voting.cpp b/src/game/client/components/voting.cpp index f267542b..68a4d42b 100644 --- a/src/game/client/components/voting.cpp +++ b/src/game/client/components/voting.cpp @@ -88,8 +88,8 @@ void VOTING::on_reset() void VOTING::on_console_init() { - MACRO_REGISTER_COMMAND("callvote", "sr", con_callvote, this); - MACRO_REGISTER_COMMAND("vote", "r", con_vote, this); + MACRO_REGISTER_COMMAND("callvote", "sr", CFGFLAG_CLIENT, con_callvote, this); + MACRO_REGISTER_COMMAND("vote", "r", CFGFLAG_CLIENT, con_vote, this); } void VOTING::on_message(int msgtype, void *rawmsg) -- cgit 1.4.1