<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39372 >

Here's the simplest possible patches for 2.1.0b4 and trunk.


--- ../ruleset.c        Sun Feb 18 23:01:46 2007
+++ server/ruleset.c    Thu May 17 17:12:28 2007
@@ -2313,12 +2313,13 @@
 
   game.info.celebratesize = 
     secfile_lookup_int_default(file, GAME_DEFAULT_CELEBRATESIZE,
-                               "parameters.celebratesize");
+                               "parameters.celebrate_size_limit");
   game.info.add_to_size_limit =
     secfile_lookup_int_default(file, 9, "parameters.add_to_size_limit");
   game.info.angrycitizen =
     secfile_lookup_bool_default(file, GAME_DEFAULT_ANGRYCITIZEN,
                                 "parameters.angry_citizens");
+
   game.info.changable_tax = 
     secfile_lookup_bool_default(file, TRUE, "parameters.changable_tax");
   game.info.forced_science = 
Index: server/ruleset.c
===================================================================
--- server/ruleset.c    (revision 12955)
+++ server/ruleset.c    (working copy)
@@ -2569,12 +2569,13 @@
 
   game.info.celebratesize = 
     secfile_lookup_int_default(file, GAME_DEFAULT_CELEBRATESIZE,
-                               "parameters.celebratesize");
+                               "parameters.celebrate_size_limit");
   game.info.add_to_size_limit =
     secfile_lookup_int_default(file, 9, "parameters.add_to_size_limit");
   game.info.angrycitizen =
     secfile_lookup_bool_default(file, GAME_DEFAULT_ANGRYCITIZEN,
                                 "parameters.angry_citizens");
+
   game.info.changable_tax = 
     secfile_lookup_bool_default(file, TRUE, "parameters.changable_tax");
   game.info.forced_science = 
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to