diff options
author | alberth <alberth@openttd.org> | 2015-04-11 18:45:18 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2015-04-11 18:45:18 +0000 |
commit | a91f74dbb3513f77947decc514374c5a563999d3 (patch) | |
tree | 9e80dd8cd566a7d0c8db1a76c86d2d391dc8741d /src/table | |
parent | 9db21f64892104ca903397751d2b274572f4c58e (diff) | |
download | openttd-a91f74dbb3513f77947decc514374c5a563999d3.tar.xz |
(svn r27231) -Codechange: Replace magic numbers for the smoothness setting (chillcore)
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/settings.ini | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/table/settings.ini b/src/table/settings.ini index 24ad48632..f314f21e9 100644 --- a/src/table/settings.ini +++ b/src/table/settings.ini @@ -2178,8 +2178,8 @@ type = SLE_UINT8 from = 30 guiflags = SGF_MULTISTRING | SGF_NEWGAME_ONLY def = 1 -min = 0 -max = 3 +min = TGEN_SMOOTHNESS_BEGIN +max = TGEN_SMOOTHNESS_END - 1 str = STR_CONFIG_SETTING_ROUGHNESS_OF_TERRAIN strhelp = STR_CONFIG_SETTING_ROUGHNESS_OF_TERRAIN_HELPTEXT strval = STR_CONFIG_SETTING_ROUGHNESS_OF_TERRAIN_VERY_SMOOTH |