summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2014-12-02 21:09:16 -0500
committerkwolekr <kwolekr@minetest.net>2014-12-02 21:09:16 -0500
commitfcb1ea903faf8933142a04b7c8ab89ec08a0be24 (patch)
treea2e780a2747ff02e82b6868ed6711248b92ec82c /src/settings.cpp
parent68c799bf99bbf624401500e116663d2326331473 (diff)
downloadminetest-fcb1ea903faf8933142a04b7c8ab89ec08a0be24.tar.gz
minetest-fcb1ea903faf8933142a04b7c8ab89ec08a0be24.tar.bz2
minetest-fcb1ea903faf8933142a04b7c8ab89ec08a0be24.zip
Settings: Fix getNoiseParamsFromValue()
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 8bb4f5c9c..fe3cc019d 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -487,6 +487,7 @@ bool Settings::getNoiseParamsFromValue(const std::string &name,
np.spread.X = stof(f.next(","));
np.spread.Y = stof(f.next(","));
np.spread.Z = stof(f.next(")"));
+ f.next(",");
np.seed = stoi(f.next(","));
np.octaves = stoi(f.next(","));
np.persist = stof(f.next(""));