diff options
author | kwolekr <kwolekr@minetest.net> | 2014-12-02 21:09:16 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2014-12-02 21:09:16 -0500 |
commit | fcb1ea903faf8933142a04b7c8ab89ec08a0be24 (patch) | |
tree | a2e780a2747ff02e82b6868ed6711248b92ec82c | |
parent | 68c799bf99bbf624401500e116663d2326331473 (diff) | |
download | minetest-fcb1ea903faf8933142a04b7c8ab89ec08a0be24.tar.gz minetest-fcb1ea903faf8933142a04b7c8ab89ec08a0be24.tar.bz2 minetest-fcb1ea903faf8933142a04b7c8ab89ec08a0be24.zip |
Settings: Fix getNoiseParamsFromValue()
-rw-r--r-- | src/settings.cpp | 1 |
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("")); |