Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#10244) 9894 and forward savegame compatibility
Home

[Freeciv-Dev] (PR#10244) 9894 and forward savegame compatibility

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10244) 9894 and forward savegame compatibility
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Tue, 21 Sep 2004 15:05:34 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10244 >

9894 broke forward savegame compatibility.
This patch fixes it.
--
mateusz
Index: savegame.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/savegame.c,v
retrieving revision 1.191
diff -u -r1.191 savegame.c
--- savegame.c  21 Sep 2004 18:35:23 -0000      1.191
+++ savegame.c  21 Sep 2004 22:05:16 -0000
@@ -3485,6 +3485,12 @@
    * don't matter, though. */
   secfile_insert_int(file, 2, "game.settlers");
   secfile_insert_int(file, 1, "game.explorer");
+  secfile_insert_int(file, 30, "map.mountains");
+  secfile_insert_int(file, 35, "map.grass");
+  secfile_insert_int(file, 5, "map.swampsize");
+  secfile_insert_int(file, 5, "map.deserts");
+  secfile_insert_int(file, 5, "map.riverlength");
+  secfile_insert_int(file, 20, "map.forestsize");
 
   if (TRUE) {
     /* Now always save these, so the server options reflect the

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#10244) 9894 and forward savegame compatibility, Mateusz Stefek <=