aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_indev.cpp
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2014-02-05 00:05:58 -0500
committerkwolekr <kwolekr@minetest.net>2014-02-05 00:05:58 -0500
commitc6c5edd73a97f2991113ba48d9c2415222fe4709 (patch)
treee894c58afc17bf475bcfb9ced574a0b02b0fa7d7 /src/mapgen_indev.cpp
parent7859e57f6c4bafe6d9213be905b16cc3e015ee07 (diff)
downloadminetest-c6c5edd73a97f2991113ba48d9c2415222fe4709.tar.gz
minetest-c6c5edd73a97f2991113ba48d9c2415222fe4709.tar.bz2
minetest-c6c5edd73a97f2991113ba48d9c2415222fe4709.zip
Revert "Fix settings to honor numeric conversion errors"
This reverts commit 3f376a092e1c16429fb52f24736e9da98aff4cd5.
Diffstat (limited to 'src/mapgen_indev.cpp')
-rw-r--r--src/mapgen_indev.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen_indev.cpp b/src/mapgen_indev.cpp
index ac5b4e811..67535b0b4 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->getS16NoEx("mgindev_float_islands", float_islands);
+ settings->tryGetS16("mgindev_float_islands", float_islands);
settings->getNoiseIndevParams("mgindev_np_terrain_base", npindev_terrain_base);
settings->getNoiseIndevParams("mgindev_np_terrain_higher", npindev_terrain_higher);