summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-29 21:36:10 +0000
committerrubidium <rubidium@openttd.org>2008-05-29 21:36:10 +0000
commit2bcc9d4d496665ed131ca3acfc5b12e3a1e5f9a9 (patch)
treed619e26d53573951795a24bda8c38cda7b3cc29d /src
parentd36ff6af5ae7150c20a7609dab30313223d9b9ef (diff)
downloadopenttd-2bcc9d4d496665ed131ca3acfc5b12e3a1e5f9a9.tar.xz
(svn r13336) -Fix: loading old savegames, e.g. the intro game, would reset the autosave settings.
Diffstat (limited to 'src')
-rw-r--r--src/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 58d8a79a3..01f01f469 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -1555,7 +1555,7 @@ static const SettingDesc _gameopt_settings[] = {
SDT_OMANY(GameSettings, game_creation.town_name, SLE_UINT8, 0, 0, 0, 255, "english|french|german|american|latin|silly|swedish|dutch|finnish|polish|slovakish|norwegian|hungarian|austrian|romanian|czech|swiss|danish|turkish|italian|catalan", STR_NULL, NULL, NULL),
SDT_OMANY(GameSettings, game_creation.landscape, SLE_UINT8, 0, 0, 0, 3, "temperate|arctic|tropic|toyland", STR_NULL, NULL, ConvertLandscape),
SDT_VAR(GameSettings, game_creation.snow_line, SLE_UINT8, 0, 0, 7 * TILE_HEIGHT, 2 * TILE_HEIGHT, 13 * TILE_HEIGHT, 0, STR_NULL, NULL),
- SDTC_CONDOMANY( gui.autosave, SLE_UINT8, 0, 22, N, 0, 0, 0, "", STR_NULL, NULL),
+ SDT_CONDNULL( 1, 0, 22),
SDTC_CONDOMANY( gui.autosave, SLE_UINT8, 23, SL_MAX_VERSION, S, 0, 1, 4, "off|monthly|quarterly|half year|yearly", STR_NULL, NULL),
SDT_OMANY(GameSettings, vehicle.road_side, SLE_UINT8, 0, 0, 1, 1, "left|right", STR_NULL, NULL, NULL),
SDT_END()