Bug #2456 ยป 0001-ai-default-Spend-gold-before-the-city-choices-are-re.patch
| ai/default/daicity.c | ||
|---|---|---|
|
city_list_iterate(pplayer->cities, pcity) {
|
||
|
dai_city_choose_build(ait, pplayer, pcity);
|
||
|
/* Initialize for next turn */
|
||
|
def_ai_city_data(pcity, ait)->choice.want = -1;
|
||
|
} city_list_iterate_end;
|
||
|
dai_spend_gold(ait, pplayer);
|
||
|
/* Initialize for next turn */
|
||
|
city_list_iterate(pplayer->cities, pcity) {
|
||
|
def_ai_city_data(pcity, ait)->choice.want = -1;
|
||
|
} city_list_iterate_end;
|
||
|
}
|
||
|
/**********************************************************************//**
|
||