Author: cazfi Date: Sun Jan 3 03:41:24 2016 New Revision: 31323 URL: http://svn.gna.org/viewcvs/freeciv?rev=31323&view=rev Log: Initialize initial choice structure in default AI city data
See patch #6754 Modified: branches/S2_6/ai/default/aicity.c Modified: branches/S2_6/ai/default/aicity.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/ai/default/aicity.c?rev=31323&r1=31322&r2=31323&view=diff ============================================================================== --- branches/S2_6/ai/default/aicity.c (original) +++ branches/S2_6/ai/default/aicity.c Sun Jan 3 03:41:24 2016 @@ -964,6 +964,7 @@ struct ai_city *city_data = fc_calloc(1, sizeof(struct ai_city)); city_data->building_wait = BUILDING_WAIT_MINIMUM; + adv_init_choice(&(city_data->choice)); city_set_ai_data(pcity, ait, city_data); } _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits