diff options
author | Darkvater <Darkvater@openttd.org> | 2006-02-20 17:54:25 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-02-20 17:54:25 +0000 |
commit | 317bd06971e313d76257386eb74438f7809909f2 (patch) | |
tree | 8127ceda05e3c603d189bb7dad9cf308be48a647 /settings.c | |
parent | cb77d1447ea40982305e0bc059b2cb5cf14bf029 (diff) | |
download | openttd-317bd06971e313d76257386eb74438f7809909f2.tar.xz |
(svn r3622) - Partly revert r3214. The patch setting max_num_autosaves stays to help control PDA-troubles which the commit was intended for. Didn't revert makefile-config version since it would cause trouble. But Bjarni promised to rewrite it :)
Diffstat (limited to 'settings.c')
-rw-r--r-- | settings.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/settings.c b/settings.c index a287b7f7f..b0f5ba62d 100644 --- a/settings.c +++ b/settings.c @@ -863,11 +863,6 @@ static const SettingDesc gameopt_settings[] = { {NULL, 0, NULL, NULL, NULL} }; -#if !defined(MAX_NUM_AUTOSAVES) -// no custom default max number of autosaves have been set in the makefile, so we will set the default max to 16 -#define MAX_NUM_AUTOSAVES 16 -#endif - // The player-based settings (are not send over the network) // Not everything can just be added to this list. For example, service_interval // can not be done, because every client assigns the service_interval value to the @@ -892,7 +887,7 @@ static const SettingDesc patch_player_settings[] = { {"toolbar_pos", SDT_UINT8, (void*)0, &_patches.toolbar_pos, NULL}, {"keep_all_autosave", SDT_BOOL, (void*)false, &_patches.keep_all_autosave, NULL}, {"autosave_on_exit", SDT_BOOL, (void*)false, &_patches.autosave_on_exit, NULL}, - {"max_autosave_num", SDT_UINT8, (void*)MAX_NUM_AUTOSAVES, &_patches.max_num_autosaves, NULL}, + {"max_autosave_num", SDT_UINT8, (void*)16, &_patches.max_num_autosaves, NULL}, {"bridge_pillars", SDT_BOOL, (void*)true, &_patches.bridge_pillars, NULL}, {"invisible_trees", SDT_BOOL, (void*)false, &_patches.invisible_trees, NULL}, |