Author: cazfi
Date: Thu Sep 10 06:20:23 2015
New Revision: 29846

URL: http://svn.gna.org/viewcvs/freeciv?rev=29846&view=rev
Log:
Show first history report at turn 20, not 21.

See patch #6332

Modified:
    branches/S2_5/common/game.c
    branches/S2_5/common/game.h

Modified: branches/S2_5/common/game.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/common/game.c?rev=29846&r1=29845&r2=29846&view=diff
==============================================================================
--- branches/S2_5/common/game.c (original)
+++ branches/S2_5/common/game.c Thu Sep 10 06:20:23 2015
@@ -399,7 +399,7 @@
     game.server.save_options.save_starts = TRUE;
     game.server.savepalace        = GAME_DEFAULT_SAVEPALACE;
     game.server.scorelog          = GAME_DEFAULT_SCORELOG;
-    game.server.scoreturn         = GAME_DEFAULT_SCORETURN;
+    game.server.scoreturn         = GAME_DEFAULT_SCORETURN - 1;
     game.server.seed              = GAME_DEFAULT_SEED;
     sz_strlcpy(game.server.start_units, GAME_DEFAULT_START_UNITS);
     game.server.start_year        = GAME_START_YEAR;

Modified: branches/S2_5/common/game.h
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/common/game.h?rev=29846&r1=29845&r2=29846&view=diff
==============================================================================
--- branches/S2_5/common/game.h (original)
+++ branches/S2_5/common/game.h Thu Sep 10 06:20:23 2015
@@ -458,6 +458,10 @@
 
 #define GAME_DEFAULT_SCORELOG        FALSE
 #define GAME_DEFAULT_SCOREFILE       "freeciv-score.log"
+
+/* Turns between reports is random between SCORETURN and (2 x SCORETURN).
+ * First report is shown at SCORETURN. As report is generated in the end of 
the turn,
+ * first report is already generated at (SCORETURN - 1) */
 #define GAME_DEFAULT_SCORETURN       20
 
 #define GAME_DEFAULT_SPACERACE       TRUE


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

Reply via email to