Author: cazfi Date: Thu May 12 22:04:16 2016 New Revision: 32681 URL: http://svn.gna.org/viewcvs/freeciv?rev=32681&view=rev Log: Corrected references to 'ai_choice' to say 'adv_choice'
See patch #7205 Modified: trunk/doc/README.AI trunk/server/advisors/advbuilding.c Modified: trunk/doc/README.AI URL: http://svn.gna.org/viewcvs/freeciv/trunk/doc/README.AI?rev=32681&r1=32680&r2=32681&view=diff ============================================================================== --- trunk/doc/README.AI (original) +++ trunk/doc/README.AI Thu May 12 22:04:16 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: trunk/server/advisors/advbuilding.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/server/advisors/advbuilding.c?rev=32681&r1=32680&r2=32681&view=diff ============================================================================== --- trunk/server/advisors/advbuilding.c (original) +++ trunk/server/advisors/advbuilding.c Thu May 12 22:04:16 2016 @@ -268,10 +268,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