From 57605f256cf471385c85ba69168154cc0abc8af9 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Thu, 3 Nov 2011 17:07:46 +0100 Subject: [PATCH] Increase number of games retained in history to 40 Unfortunately this parameter is hard-coded in the server. --- lasker-2.2.3/src/gamedb.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lasker-2.2.3/src/gamedb.c b/lasker-2.2.3/src/gamedb.c index 0d1223f..82eef2e 100644 --- a/lasker-2.2.3/src/gamedb.c +++ b/lasker-2.2.3/src/gamedb.c @@ -1652,10 +1652,10 @@ void game_write_complete(int g, int isDraw, char *EndSymbol) sprintf(fname, "%s/player_data/%c/%s.%s", STATS_DIR, player_globals.parray[wp].login[0], player_globals.parray[wp].login, STATS_GAMES); - write_g_out(g, fname, 10, isDraw, EndSymbol, player_globals.parray[wp].name, &now); + write_g_out(g, fname, 40, isDraw, EndSymbol, player_globals.parray[wp].name, &now); sprintf(fname, "%s/player_data/%c/%s.%s", STATS_DIR, player_globals.parray[bp].login[0], player_globals.parray[bp].login, STATS_GAMES); - write_g_out(g, fname, 10, isDraw, EndSymbol, player_globals.parray[bp].name, &now); + write_g_out(g, fname, 40, isDraw, EndSymbol, player_globals.parray[bp].name, &now); if (isDraw) Result = -1; -- 1.7.0.4