Author: cazfi Date: Mon Jun 27 02:52:23 2016 New Revision: 33058 URL: http://svn.gna.org/viewcvs/freeciv?rev=33058&view=rev Log: Count preparations (turn 0) as a turn toward saveturns counter.
See patch #6915 Modified: trunk/server/srv_main.c Modified: trunk/server/srv_main.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/server/srv_main.c?rev=33058&r1=33057&r2=33058&view=diff ============================================================================== --- trunk/server/srv_main.c (original) +++ trunk/server/srv_main.c Mon Jun 27 02:52:23 2016 @@ -2496,10 +2496,11 @@ **************************************************************************/ static void srv_running(void) { - int save_counter = 0, i; + int i; bool is_new_turn = game.info.is_new_game; bool skip_mapimg = !game.info.is_new_game; /* Do not overwrite start-of-turn image */ bool need_send_pending_events = !game.info.is_new_game; + int save_counter = game.info.is_new_game ? 1 : 0; /* We may as well reset is_new_game now. */ game.info.is_new_game = FALSE; _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits