about summary refs log tree commit diff
path: root/src/game/client/components/voting.cpp
diff options
context:
space:
mode:
authorAlfred Eriksson <somerunce@gmail.com>2009-01-24 14:10:26 +0000
committerAlfred Eriksson <somerunce@gmail.com>2009-01-24 14:10:26 +0000
commit82f9be8ce08000213bd231528707a09da41b0f4c (patch)
tree596206f09852f5409e2673c29e98383e9a4b7653 /src/game/client/components/voting.cpp
parent91e337c7ab2c2a1f10c2ce995e4aa00cdcef20a1 (diff)
downloadzcatch-82f9be8ce08000213bd231528707a09da41b0f4c.tar.gz
zcatch-82f9be8ce08000213bd231528707a09da41b0f4c.zip
added help messages for all commands. added syntax in the help msg
Diffstat (limited to 'src/game/client/components/voting.cpp')
-rw-r--r--src/game/client/components/voting.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/components/voting.cpp b/src/game/client/components/voting.cpp
index 09fd1930..190ba224 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, "Call vote");
+	MACRO_REGISTER_COMMAND("vote", "r", CFGFLAG_CLIENT, con_vote, this, "Vote yes/no");
 }
 
 void VOTING::on_message(int msgtype, void *rawmsg)