about summary refs log tree commit diff
path: root/src/game/server/gamecontext.h
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-03-26 22:06:29 +0100
committeroy <Tom_Adams@web.de>2011-03-26 22:06:29 +0100
commit5b328e54842b128881237ed608705b596f310ce8 (patch)
tree6700438579549faf9295bd5622826145c2976284 /src/game/server/gamecontext.h
parent6e1b6b102a623d1e9b93566491bd9dc525fdcbaa (diff)
downloadzcatch-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/server/gamecontext.h')
-rw-r--r--src/game/server/gamecontext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/server/gamecontext.h b/src/game/server/gamecontext.h
index 399e0058..38100a06 100644
--- a/src/game/server/gamecontext.h
+++ b/src/game/server/gamecontext.h
@@ -99,6 +99,7 @@ public:
 	char m_aVoteDescription[VOTE_DESC_LENGTH];
 	char m_aVoteCommand[VOTE_CMD_LENGTH];
 	char m_aVoteReason[VOTE_REASON_LENGTH];
+	int m_NumVoteOptions;
 	int m_VoteEnforce;
 	enum
 	{