Author: cazfi
Date: Wed Feb  1 10:22:28 2017
New Revision: 34922

URL: http://svn.gna.org/viewcvs/freeciv?rev=34922&view=rev
Log:
Fixed loading score.specialists from the savegame.

Originally reported by Christian Knoke <chrisk>

See bug #25475

Modified:
    branches/S2_6/server/savegame2.c

Modified: branches/S2_6/server/savegame2.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/savegame2.c?rev=34922&r1=34921&r2=34922&view=diff
==============================================================================
--- branches/S2_6/server/savegame2.c    (original)
+++ branches/S2_6/server/savegame2.c    Wed Feb  1 10:22:28 2017
@@ -4410,7 +4410,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

Reply via email to