Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2005:
[Freeciv-Dev] Re: (PR#11733) Vote Bug
Home

[Freeciv-Dev] Re: (PR#11733) Vote Bug

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: michael@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#11733) Vote Bug
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 1 Jan 2005 13:09:39 -0800
Reply-to: bugs@xxxxxxxxxxx

<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





[Prev in Thread] Current Thread [Next in Thread]