diff options
author | kwolekr <kwolekr@minetest.net> | 2014-02-05 00:17:53 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2014-02-05 00:17:53 -0500 |
commit | 7f743178db2a45bd3f68ef2c9c7df6deca1f3ab6 (patch) | |
tree | fe25632e9321e947f110500b3c850c11d466ea79 /src/mapgen_indev.cpp | |
parent | c6c5edd73a97f2991113ba48d9c2415222fe4709 (diff) | |
download | minetest-7f743178db2a45bd3f68ef2c9c7df6deca1f3ab6.tar.gz minetest-7f743178db2a45bd3f68ef2c9c7df6deca1f3ab6.tar.bz2 minetest-7f743178db2a45bd3f68ef2c9c7df6deca1f3ab6.zip |
Remove blank default values for emergequeue_limit_* settings
Add checks for invalid user input for important settings
Rename Settings::tryGet* to Settings::get*NoEx for consistency
Diffstat (limited to 'src/mapgen_indev.cpp')
-rw-r--r-- | src/mapgen_indev.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen_indev.cpp b/src/mapgen_indev.cpp index 67535b0b4..ac5b4e811 100644 --- a/src/mapgen_indev.cpp +++ b/src/mapgen_indev.cpp @@ -164,7 +164,7 @@ MapgenIndevParams::MapgenIndevParams() { void MapgenIndevParams::readParams(Settings *settings) { MapgenV6Params::readParams(settings); - settings->tryGetS16("mgindev_float_islands", float_islands); + settings->getS16NoEx("mgindev_float_islands", float_islands); settings->getNoiseIndevParams("mgindev_np_terrain_base", npindev_terrain_base); settings->getNoiseIndevParams("mgindev_np_terrain_higher", npindev_terrain_higher); |