summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-25 17:33:58 +0000
committerrubidium <rubidium@openttd.org>2011-11-25 17:33:58 +0000
commitbf55f58a470c2277882ae91cc8d441d04f229fb7 (patch)
tree3a7ec62ab4acc23100dcc4fd016c468d2e9bbae6
parent03c86ab874b8d0678ac1847d9e13b7ce750857bb (diff)
downloadopenttd-bf55f58a470c2277882ae91cc8d441d04f229fb7.tar.xz
(svn r23326) -Fix [FS#4852] (r23239): snow line for very old savegames wasn't retrieved from the savegame anymore
-rw-r--r--src/table/gameopt_settings.ini10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/table/gameopt_settings.ini b/src/table/gameopt_settings.ini
index d51f6f2e9..7d36e8096 100644
--- a/src/table/gameopt_settings.ini
+++ b/src/table/gameopt_settings.ini
@@ -130,8 +130,18 @@ max = 3
full = _climates
load = ConvertLandscape
+[SDT_VAR]
+base = GameSettings
+var = game_creation.snow_line_height
+type = SLE_UINT8
+def = DEF_SNOWLINE_HEIGHT * TILE_HEIGHT
+min = MIN_SNOWLINE_HEIGHT * TILE_HEIGHT
+max = MAX_SNOWLINE_HEIGHT * TILE_HEIGHT
+to = 21
+
[SDT_NULL]
length = 1
+from = 22
to = 164
[SDT_NULL]