Author: cazfi Date: Thu May 12 22:04:27 2016 New Revision: 32683 URL: http://svn.gna.org/viewcvs/freeciv?rev=32683&view=rev Log: Corrected references to 'ai_choice' to say 'adv_choice'
See patch #7205 Modified: branches/S2_5/doc/README.AI branches/S2_5/server/advisors/advbuilding.c Modified: branches/S2_5/doc/README.AI URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/doc/README.AI?rev=32683&r1=32682&r2=32683&view=diff ============================================================================== --- branches/S2_5/doc/README.AI (original) +++ branches/S2_5/doc/README.AI Thu May 12 22:04:27 2016 @@ -70,7 +70,7 @@ WANT CALCULATIONS ================= -Build calculations are expressed through a structure called ai_choice. +Build calculations are expressed through a structure called adv_choice. This has a variable called "want", which determines how much the AI wants whatever item is pointed to by choice->type. choice->want is Modified: branches/S2_5/server/advisors/advbuilding.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/server/advisors/advbuilding.c?rev=32683&r1=32682&r2=32683&view=diff ============================================================================== --- branches/S2_5/server/advisors/advbuilding.c (original) +++ branches/S2_5/server/advisors/advbuilding.c Thu May 12 22:04:27 2016 @@ -254,10 +254,7 @@ } /************************************************************************** - Choose improvement we like most and put it into ai_choice. - - "I prefer the ai_choice as a return value; gcc prefers it as an arg" - -- Syela + Choose improvement we like most and put it into adv_choice. **************************************************************************/ void building_advisor_choose(struct city *pcity, struct adv_choice *choice) { _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits