Author: cazfi Date: Wed Feb 1 10:22:23 2017 New Revision: 34921 URL: http://svn.gna.org/viewcvs/freeciv?rev=34921&view=rev Log: Fixed loading score.specialists from the savegame.
Originally reported by Christian Knoke <chrisk> See bug #25475 Modified: branches/S3_0/server/savegame2.c branches/S3_0/server/savegame3.c Modified: branches/S3_0/server/savegame2.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S3_0/server/savegame2.c?rev=34921&r1=34920&r2=34921&view=diff ============================================================================== --- branches/S3_0/server/savegame2.c (original) +++ branches/S3_0/server/savegame2.c Wed Feb 1 10:22:23 2017 @@ -3046,7 +3046,7 @@ for (i = 0; i < loading->specialist.size; i++) { plr->score.specialists[specialist_index(loading->specialist.order[i])] = secfile_lookup_int_default(loading->file, 0, - "score%d.specialist%d", plrno, i); + "score%d.specialists%d", plrno, i); } plr->score.wonders = Modified: branches/S3_0/server/savegame3.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S3_0/server/savegame3.c?rev=34921&r1=34920&r2=34921&view=diff ============================================================================== --- branches/S3_0/server/savegame3.c (original) +++ branches/S3_0/server/savegame3.c Wed Feb 1 10:22:23 2017 @@ -3890,7 +3890,7 @@ for (i = 0; i < loading->specialist.size; i++) { plr->score.specialists[specialist_index(loading->specialist.order[i])] = secfile_lookup_int_default(loading->file, 0, - "score%d.specialist%d", plrno, i); + "score%d.specialists%d", plrno, i); } plr->score.wonders = _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits