Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2005:
[Freeciv-Dev] (PR#13616) fix endyear setting
Home

[Freeciv-Dev] (PR#13616) fix endyear setting

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#13616) fix endyear setting
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 4 Aug 2005 23:21:35 -0700
Reply-to: bugs@xxxxxxxxxxx

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

The attached patch - for 2.0 and the development version - fixes a bug 
in the endear setting.  Because of a typo the two values were reversed. 
  This is the reason "/show endyear" fails.

-jason

Index: server/settings.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/settings.c,v
retrieving revision 1.5.2.9
diff -p -u -r1.5.2.9 settings.c
--- server/settings.c   3 May 2005 03:21:36 -0000       1.5.2.9
+++ server/settings.c   5 Aug 2005 06:20:05 -0000
@@ -861,7 +861,7 @@ struct settings_s settings[] = {
           autotoggle_callback, GAME_DEFAULT_AUTO_AI_TOGGLE)
 
   GEN_INT("endyear", game.end_year,
-         SSET_META, SSET_SOCIOLOGY, SSET_TO_CLIENT, SSET_VITAL,
+         SSET_META, SSET_SOCIOLOGY, SSET_VITAL, SSET_TO_CLIENT,
          N_("Year the game ends"), 
          N_("The game will end at the end of the given year."), NULL,
          GAME_MIN_END_YEAR, GAME_MAX_END_YEAR, GAME_DEFAULT_END_YEAR)

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#13616) fix endyear setting, Jason Short <=