summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-17 20:42:12 +0000
committerrubidium <rubidium@openttd.org>2011-11-17 20:42:12 +0000
commit1de7127d62f3fbc91fc6a2d95a54b7af5ffdf530 (patch)
treebad494ad58665619b997d5467f763e6ee29375f6 /src
parent530185a8263fabbc0887608d860456e63faf8d65 (diff)
downloadopenttd-1de7127d62f3fbc91fc6a2d95a54b7af5ffdf530.tar.xz
(svn r23239) -Fix: saving/loading the snow line height twice, especially when the values are not the same causes some nasty problems... like desyncs
Diffstat (limited to 'src')
-rw-r--r--src/table/gameopt_settings.ini10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/table/gameopt_settings.ini b/src/table/gameopt_settings.ini
index 9d493ad3b..d51f6f2e9 100644
--- a/src/table/gameopt_settings.ini
+++ b/src/table/gameopt_settings.ini
@@ -130,13 +130,9 @@ 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
+[SDT_NULL]
+length = 1
+to = 164
[SDT_NULL]
length = 1