Author: cazfi
Date: Mon Jan  9 10:41:37 2017
New Revision: 34804

URL: http://svn.gna.org/viewcvs/freeciv?rev=34804&view=rev
Log:
Fixed check that techonology vector has been loaded correctly from the savegame.

See bug #25416

Modified:
    branches/S2_5/server/savegame2.c

Modified: branches/S2_5/server/savegame2.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/server/savegame2.c?rev=34804&r1=34803&r2=34804&view=diff
==============================================================================
--- branches/S2_5/server/savegame2.c    (original)
+++ branches/S2_5/server/savegame2.c    Mon Jan  9 10:41:37 2017
@@ -1684,7 +1684,7 @@
     loading->technology.order
       = secfile_lookup_str_vec(loading->file, &loading->technology.size,
                                "savefile.technology_vector");
-    sg_failure_ret(loading->improvement.size != 0,
+    sg_failure_ret(loading->technology.size != 0,
                    "Failed to load technology order: %s",
                    secfile_error());
   }


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

Reply via email to