From: kwolekr Date: Wed, 3 Dec 2014 02:09:16 +0000 (-0500) Subject: Settings: Fix getNoiseParamsFromValue() X-Git-Tag: 0.4.11~111 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fcb1ea903faf8933142a04b7c8ab89ec08a0be24;p=oweals%2Fminetest.git Settings: Fix getNoiseParamsFromValue() --- 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(""));