From 5f186c89062ddd9caeb8f105e748af62dc254f00 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 24 Jan 2009 13:12:04 +0000 Subject: fixed so the console show help for each command. not all commands have descriptions however --- src/game/client/components/chat.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game/client/components/chat.cpp') diff --git a/src/game/client/components/chat.cpp b/src/game/client/components/chat.cpp index 2bd4511d..55097e58 100644 --- a/src/game/client/components/chat.cpp +++ b/src/game/client/components/chat.cpp @@ -41,9 +41,9 @@ void CHAT::con_chat(void *result, void *user_data) void CHAT::on_console_init() { - MACRO_REGISTER_COMMAND("say", "r", CFGFLAG_CLIENT, con_say, this); - MACRO_REGISTER_COMMAND("say_team", "r", CFGFLAG_CLIENT, con_sayteam, this); - MACRO_REGISTER_COMMAND("chat", "s", CFGFLAG_CLIENT, con_chat, this); + MACRO_REGISTER_COMMAND("say", "r", CFGFLAG_CLIENT, con_say, this, ""); + MACRO_REGISTER_COMMAND("say_team", "r", CFGFLAG_CLIENT, con_sayteam, this, ""); + MACRO_REGISTER_COMMAND("chat", "s", CFGFLAG_CLIENT, con_chat, this, ""); } bool CHAT::on_input(INPUT_EVENT e) -- cgit 1.4.1