summaryrefslogtreecommitdiff
path: root/settings.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-23 17:37:26 +0000
committertruelight <truelight@openttd.org>2004-12-23 17:37:26 +0000
commitc9645885d085706aab46c593fab1fd2c1d560c17 (patch)
tree58714b88a827433fe0f108fda19afc593185fdea /settings.c
parent3672ae111857e7dffff55737a50d06f5d44114a5 (diff)
downloadopenttd-c9645885d085706aab46c593fab1fd2c1d560c17.tar.xz
(svn r1252) -Add: [Network] With 'set restart_game_date' you can set the date for in
which year the server must restart hisself. (0 = disabled, default value)
Diffstat (limited to 'settings.c')
-rw-r--r--settings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings.c b/settings.c
index 2f9ea63f4..3a4342a23 100644
--- a/settings.c
+++ b/settings.c
@@ -766,6 +766,7 @@ static const SettingDesc network_settings[] = {
{"autoclean_companies", SDT_BOOL, (void*)false, &_network_autoclean_companies, NULL},
{"autoclean_unprotected", SDT_UINT8, (void*)12, &_network_autoclean_unprotected, NULL},
{"autoclean_protected", SDT_UINT8, (void*)36, &_network_autoclean_protected, NULL},
+ {"restart_game_date", SDT_UINT16, (void*)0, &_network_restart_game_date, NULL},
{NULL, 0, NULL, NULL, NULL}
};
#endif /* ENABLE_NETWORK */