diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2009-01-24 12:16:02 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2009-01-24 12:16:02 +0000 |
| commit | 9d51d47cea8f56dc5d33a6204bdacd67f0acd902 (patch) | |
| tree | 80c1bf4aae727d200e5b2ad71ccca54f5c999679 /src/game/client/components/voting.cpp | |
| parent | 1a1af65b96a9ab0c757a40acbbbd5347fec4663f (diff) | |
| download | zcatch-9d51d47cea8f56dc5d33a6204bdacd67f0acd902.tar.gz zcatch-9d51d47cea8f56dc5d33a6204bdacd67f0acd902.zip | |
added tab completion to the console. works for local and remote
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 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) |