From 5b328e54842b128881237ed608705b596f310ce8 Mon Sep 17 00:00:00 2001 From: oy Date: Sat, 26 Mar 2011 22:06:29 +0100 Subject: 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 --- src/game/client/components/voting.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game/client/components/voting.h') 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); -- cgit 1.4.1