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/voting.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/voting.h') 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 -- cgit 1.4.1