(svn r23084) -Codechange: get rid of a redundant variable

This commit is contained in:
rubidium
2011-11-03 22:49:03 +00:00
parent 091d31b84b
commit 41223c8bc9
8 changed files with 15 additions and 22 deletions

View File

@@ -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

View File

@@ -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