diff options
| author | oy <Tom_Adams@web.de> | 2011-03-25 11:49:35 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-03-25 11:49:35 +0100 |
| commit | 359b806e959fbdced610c2d84d1e12dfe7b58a7e (patch) | |
| tree | f21443f47c73b40f6c64b6055354a4e36e171244 /src/game/client/gameclient.cpp | |
| parent | a4580d451f8e4584f9aaa7b6ebe3380488ee4455 (diff) | |
| download | zcatch-359b806e959fbdced610c2d84d1e12dfe7b58a7e.tar.gz zcatch-359b806e959fbdced610c2d84d1e12dfe7b58a7e.zip | |
added remove_vote command. Closes #47
Diffstat (limited to 'src/game/client/gameclient.cpp')
| -rw-r--r-- | src/game/client/gameclient.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index c6419b34..4d80e0f1 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -198,6 +198,7 @@ void CGameClient::OnConsoleInit() Console()->Register("set_team", "ii", CFGFLAG_SERVER, 0, 0, "Set team of player to team"); Console()->Register("set_team_all", "i", CFGFLAG_SERVER, 0, 0, "Set team of all players to team"); Console()->Register("add_vote", "sr", CFGFLAG_SERVER, 0, 0, "Add a voting option"); + Console()->Register("remove_vote", "s", CFGFLAG_SERVER, 0, 0, "remove a voting option"); Console()->Register("clear_votes", "", CFGFLAG_SERVER, 0, 0, "Clears the voting options"); Console()->Register("vote", "r", CFGFLAG_SERVER, 0, 0, "Force a vote to yes/no"); |