Author: cazfi Date: Sun Jan 3 03:41:12 2016 New Revision: 31322 URL: http://svn.gna.org/viewcvs/freeciv?rev=31322&view=rev Log: Initialize initial choice structure in default AI city data
See patch #6754 Modified: trunk/ai/default/aicity.c Modified: trunk/ai/default/aicity.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/ai/default/aicity.c?rev=31322&r1=31321&r2=31322&view=diff ============================================================================== --- trunk/ai/default/aicity.c (original) +++ trunk/ai/default/aicity.c Sun Jan 3 03:41:12 2016 @@ -1048,6 +1048,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