diff options
author | Darkvater <darkvater@openttd.org> | 2006-03-13 23:20:24 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-03-13 23:20:24 +0000 |
commit | 37b301ba3afd64e03a6d558eb60ba830335a7978 (patch) | |
tree | 4610f9d27ad9b05c49ee0ba602541efa90630e08 | |
parent | 9773a2bcbe050ec8bad6e7935bc3eea8b7ab210f (diff) | |
download | openttd-37b301ba3afd64e03a6d558eb60ba830335a7978.tar.xz |
(svn r3854) - Fix restart_game_date to default to zero and allow a value of 0 which got screwed up during the patch-rewrite. Thanks peter1138
-rw-r--r-- | settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.c b/settings.c index 0a91f5708..0dde5c2a9 100644 --- a/settings.c +++ b/settings.c @@ -1104,7 +1104,7 @@ static const SettingDescGlobVarList _network_settings[] = { SDTG_BOOL("autoclean_companies", S, 0, _network_autoclean_companies, false, STR_NULL, NULL), SDTG_VAR("autoclean_unprotected",SLE_UINT8, S, 0, _network_autoclean_unprotected,12, 0, 60, STR_NULL, NULL), SDTG_VAR("autoclean_protected", SLE_UINT8, S, 0, _network_autoclean_protected, 36, 0, 180, STR_NULL, NULL), - SDTG_VAR("restart_game_date", SLE_UINT16, S, 0, _network_restart_game_date, MAX_YEAR_BEGIN_REAL, MAX_YEAR_BEGIN_REAL, MAX_YEAR_END_REAL, STR_NULL, NULL), + SDTG_VAR("restart_game_date", SLE_UINT16, S,D0, _network_restart_game_date, 0, MAX_YEAR_BEGIN_REAL, MAX_YEAR_END_REAL, STR_NULL, NULL), SDTG_END() }; #endif /* ENABLE_NETWORK */ |