Author: sveinung Date: Sun Jul 6 21:01:52 2014 New Revision: 25401 URL: http://svn.gna.org/viewcvs/freeciv?rev=25401&view=rev Log: Make ruledit compile again
SVN commit 25397 renamed the advance field preset_cost to cost without updating its use in ruledit's rulesave.c. Update it. See bug bug #22286 Modified: trunk/tools/ruledit/rulesave.c Modified: trunk/tools/ruledit/rulesave.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/tools/ruledit/rulesave.c?rev=25401&r1=25400&r2=25401&view=diff ============================================================================== --- trunk/tools/ruledit/rulesave.c (original) +++ trunk/tools/ruledit/rulesave.c Sun Jul 6 21:01:52 2014 @@ -1323,8 +1323,8 @@ secfile_insert_str_vec(sfile, flag_names, set_count, "%s.flags", path); } - if (pa->preset_cost >= 0) { - secfile_insert_int(sfile, pa->preset_cost, "%s.cost", path); + if (pa->cost >= 0) { + secfile_insert_int(sfile, pa->cost, "%s.cost", path); } save_strvec(sfile, pa->helptext, path, "helptext"); _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits