[Freeciv-Dev] Re: [PATCH] use enum values for ai_choice at aicity.c (PR#
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, Mar 10, 2002 at 08:21:04AM -0800, Markus Linnala wrote:
>
> Use enum values instead of plain ints.
>
> diff -ur -X freeciv/diff_ignore freeciv/ai/aicity.c
> freeciv-ct-none/ai/aicity.c
> --- freeciv/ai/aicity.c Fri Mar 8 19:06:18 2002
> +++ freeciv-ct-none/ai/aicity.c Sun Mar 10 18:17:37 2002
> @@ -424,14 +424,14 @@
> buycost = city_buy_cost(pcity);
> if (pcity->shield_stock == 0) {
> /* nothing */
> - } else if (bestchoice.type == 0 && is_wonder(bestchoice.choice) &&
> + } else if (bestchoice.type == CT_NONE && is_wonder(bestchoice.choice)
> &&
See <http://arch.freeciv.org/freeciv-dev-200109/msg00919.html>
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
This customer comes into the computer store. "I'm looking for a mystery
Adventure Game with lots of graphics. You know, something realy
challenging". "Well," replied the clerk, "have you tried Windows 98 ?"
|
|