summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-03 22:49:03 +0000
committerrubidium <rubidium@openttd.org>2011-11-03 22:49:03 +0000
commit47c5d30b5d967cf5c48f3de1c7ca1ee492f60002 (patch)
treeb733935884805a61a58a0e2f55c57dc08e9499ca /src/table
parente98be8ed244e3d61ae0ae5c28bff8098bc2ff79f (diff)
downloadopenttd-47c5d30b5d967cf5c48f3de1c7ca1ee492f60002.tar.xz
(svn r23084) -Codechange: get rid of a redundant variable
Diffstat (limited to 'src/table')
-rw-r--r--src/table/gameopt_settings.ini2
-rw-r--r--src/table/settings.ini12
2 files changed, 5 insertions, 9 deletions
diff --git a/src/table/gameopt_settings.ini b/src/table/gameopt_settings.ini
index 662b2a9da..9d493ad3b 100644
--- a/src/table/gameopt_settings.ini
+++ b/src/table/gameopt_settings.ini
@@ -132,7 +132,7 @@ load = ConvertLandscape
[SDT_VAR]
base = GameSettings
-var = game_creation.snow_line
+var = game_creation.snow_line_height
type = SLE_UINT8
def = DEF_SNOWLINE_HEIGHT * TILE_HEIGHT
min = MIN_SNOWLINE_HEIGHT * TILE_HEIGHT
diff --git a/src/table/settings.ini b/src/table/settings.ini
index 72ce27276..96cfe9dd6 100644
--- a/src/table/settings.ini
+++ b/src/table/settings.ini
@@ -330,15 +330,11 @@ max = 3
full = _climates
load = ConvertLandscape
-[SDT_VAR]
-base = GameSettings
-var = game_creation.snow_line
-type = SLE_UINT8
+; Snow line (or snow_line_height * TILE_HEIGHT)
+[SDT_NULL]
+length = SLE_UINT8
from = 97
-guiflags = SGF_NO_NETWORK
-def = DEF_SNOWLINE_HEIGHT * TILE_HEIGHT
-min = MIN_SNOWLINE_HEIGHT * TILE_HEIGHT
-max = MAX_SNOWLINE_HEIGHT * TILE_HEIGHT
+to = 163
[SDT_OMANY]
base = GameSettings