diff options
| author | oy <Tom_Adams@web.de> | 2011-03-26 22:06:29 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-03-26 22:06:29 +0100 |
| commit | 5b328e54842b128881237ed608705b596f310ce8 (patch) | |
| tree | 6700438579549faf9295bd5622826145c2976284 /src/game/client/components/voting.h | |
| parent | 6e1b6b102a623d1e9b93566491bd9dc525fdcbaa (diff) | |
| download | zcatch-5b328e54842b128881237ed608705b596f310ce8.tar.gz zcatch-5b328e54842b128881237ed608705b596f310ce8.zip | |
added a limit for the number of votes that can be added to the server and send options as lists when a client joins. Closes #459
Diffstat (limited to 'src/game/client/components/voting.h')
| -rw-r--r-- | src/game/client/components/voting.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/client/components/voting.h b/src/game/client/components/voting.h index cfba0605..1f8fb8cf 100644 --- a/src/game/client/components/voting.h +++ b/src/game/client/components/voting.h @@ -22,6 +22,7 @@ class CVoting : public CComponent int m_Voted; int m_Yes, m_No, m_Pass, m_Total; + void AddOption(const char *pDescription); void ClearOptions(); void Callvote(const char *pType, const char *pValue, const char *pReason); |