From 874109c5201c3deed49bc9eb98352e816c271d50 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Wed, 12 Nov 2014 21:11:40 +0100 Subject: Add option 'eased' to NoiseParams Signed-off-by: Craig Robbins --- src/script/common/c_content.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/script/common/c_content.cpp') diff --git a/src/script/common/c_content.cpp b/src/script/common/c_content.cpp index 0e1e608c4..1972c40e0 100644 --- a/src/script/common/c_content.cpp +++ b/src/script/common/c_content.cpp @@ -1000,6 +1000,7 @@ bool read_noiseparams_nc(lua_State *L, int index, NoiseParams *np) np->persist = getfloatfield_default(L, index, "persist", 0.0); np->seed = getintfield_default(L, index, "seed", 0); np->octaves = getintfield_default(L, index, "octaves", 0); + np->eased = getboolfield_default(L, index, "eased", false); lua_getfield(L, index, "spread"); np->spread = read_v3f(L, -1); -- cgit v1.2.3