about summary refs log tree commit diff
path: root/src/game/voting.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/voting.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/voting.h')
-rw-r--r--src/game/voting.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/voting.h b/src/game/voting.h
index 8b31d93d..e1706caf 100644
--- a/src/game/voting.h
+++ b/src/game/voting.h
@@ -8,6 +8,8 @@ enum
 	VOTE_DESC_LENGTH=64,
 	VOTE_CMD_LENGTH=512,
 	VOTE_REASON_LENGTH=16,
+
+	MAX_VOTE_OPTIONS=128,
 };
 
 struct CVoteOptionClient