[Freeciv-Dev] Re: (PR#7099) ai/advdomestic.c calculates foodbox size inc
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7099 >
On Mon, 15 Dec 2003, James Canete wrote:
> I noticed in ai/advdomestic.c, line 497, the ai_eval_buildings() function
> doesn't use the city_granary_size() function to calculate foodbox size,
> instead using a simple (x + 1) * city.foodbox equation.This diff
> changes this, but I'm not sure if it's correct, since the value is then
> multiplied by what the code refers to as "some odd factors".
While I think your patch is correct, I am hesistant to change this code,
since it is planned to be replaced in its entirety once general effects
are in.
- Per
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Re: (PR#7099) ai/advdomestic.c calculates foodbox size incorrectly,
Per I. Mathisen <=
|
|