[Freeciv-Dev] (PR#7099) ai/advdomestic.c calculates foodbox size incorre
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#7099) ai/advdomestic.c calculates foodbox size incorrectly |
From: |
"James Canete" <use_less@xxxxxxxxxxx> |
Date: |
Mon, 15 Dec 2003 17:03:42 -0800 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=7099 >
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".
Little help?
-James Canete
advdomesticfix.diff
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#7099) ai/advdomestic.c calculates foodbox size incorrectly,
James Canete <=
|
|