diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2009-01-24 13:12:04 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2009-01-24 13:12:04 +0000 |
| commit | 5f186c89062ddd9caeb8f105e748af62dc254f00 (patch) | |
| tree | 3fda7ee1a49db59af6a9983b1adc5d351cf48030 /src/game/client/components/voting.cpp | |
| parent | ae5b47a26686e452cbc52981a6d617382f70dfba (diff) | |
| download | zcatch-5f186c89062ddd9caeb8f105e748af62dc254f00.tar.gz zcatch-5f186c89062ddd9caeb8f105e748af62dc254f00.zip | |
fixed so the console show help for each command. not all commands have descriptions however
Diffstat (limited to 'src/game/client/components/voting.cpp')
| -rw-r--r-- | src/game/client/components/voting.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/components/voting.cpp b/src/game/client/components/voting.cpp index 68a4d42b..09fd1930 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", CFGFLAG_CLIENT, con_callvote, this); - MACRO_REGISTER_COMMAND("vote", "r", CFGFLAG_CLIENT, 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) |