Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] (PR#9486) game.settlers and game.explorer in savegame is r
Home

[Freeciv-Dev] (PR#9486) game.settlers and game.explorer in savegame is r

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#9486) game.settlers and game.explorer in savegame is required by old (1.14.1) servers
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Fri, 23 Jul 2004 04:34:55 -0700
Reply-to: rt@xxxxxxxxxxx

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

Patch attached

--
mateusz


Index: savegame.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/savegame.c,v
retrieving revision 1.170
diff -u -r1.170 savegame.c
--- savegame.c  22 Jul 2004 07:45:09 -0000      1.170
+++ savegame.c  23 Jul 2004 11:26:32 -0000
@@ -2897,7 +2897,9 @@
   secfile_insert_int(file, game.watchtower_vision, "game.watchtower_vision");
   secfile_insert_int(file, game.watchtower_extra_vision, 
"game.watchtower_extra_vision");
   secfile_insert_int(file, game.allowed_city_names, "game.allowed_city_names");
-
+  /* old (1.14.1) servers need this */
+  secfile_insert_int(file, 2, "game.settlers");
+  secfile_insert_int(file, 1, "game.explorer");
   if (TRUE) {
     /* Now always save these, so the server options reflect the
      * actual values used at the start of the game.



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#9486) game.settlers and game.explorer in savegame is required by old (1.14.1) servers, Mateusz Stefek <=