Author: cazfi
Date: Mon Apr 11 15:00:39 2016
New Revision: 32353

URL: http://svn.gna.org/viewcvs/freeciv?rev=32353&view=rev
Log:
Fixed loading of the player attribute block from the savegame.

See bug #24571

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=32353&r1=32352&r2=32353&view=diff
==============================================================================
--- branches/S2_6/server/savegame2.c    (original)
+++ branches/S2_6/server/savegame2.c    Mon Apr 11 15:00:39 2016
@@ -1011,7 +1011,7 @@
   parsed = sscanf(quoted, "%d", &length);
   fc_assert_ret_val(1 == parsed, 0);
 
-  if (length <= dest_length) {
+  if (length > dest_length) {
     return 0;
   }
   quoted = strchr(quoted, ':');


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to