[Freeciv-Dev] Re: (PR#11733) Vote Bug
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11733 >
Per I. Mathisen wrote:
> +enum {
> + VOTE_NONE, VOTE_BLANK, VOTE_YES, VOTE_NO
> +};
> struct voting {
> char command[MAX_LEN_CONSOLE_LINE]; /* [0] == \0 if none in action */
> - char votes_cast[MAX_NUM_PLAYERS]; /* 0-not voted, 1-blank, 2-yes, 3-no */
> + char votes_cast[MAX_NUM_PLAYERS]; /* see enum above */
Unless I'm missing something, this should be enum vote_type, and the
votes_cast array should be of that type.
-jason
|
|