aboutsummaryrefslogtreecommitdiff
path: root/src/script/common
diff options
context:
space:
mode:
authorPilzAdam <pilzadam@minetest.net>2013-07-16 16:28:18 +0200
committerRealBadAngel <mk@realbadangel.pl>2013-07-20 20:41:17 +0200
commit413f0d0353d49d7baed32540d73cbec99e35658a (patch)
treef24e82a82f5a9eb906ef3e07ac847edeeb26a2d1 /src/script/common
parentcba90d4441bd2e81efb262e663e9c53c24322a54 (diff)
downloadminetest-413f0d0353d49d7baed32540d73cbec99e35658a.tar.gz
minetest-413f0d0353d49d7baed32540d73cbec99e35658a.tar.bz2
minetest-413f0d0353d49d7baed32540d73cbec99e35658a.zip
Add liquid_range to nodedef
Diffstat (limited to 'src/script/common')
-rw-r--r--src/script/common/c_content.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/common/c_content.cpp b/src/script/common/c_content.cpp
index 7b80cc5ee..7d18454fd 100644
--- a/src/script/common/c_content.cpp
+++ b/src/script/common/c_content.cpp
@@ -391,6 +391,8 @@ ContentFeatures read_content_features(lua_State *L, int index)
// the slowest possible
f.liquid_viscosity = getintfield_default(L, index,
"liquid_viscosity", f.liquid_viscosity);
+ f.liquid_range = getintfield_default(L, index,
+ "liquid_range", f.liquid_range);
f.leveled = getintfield_default(L, index, "leveled", f.leveled);
getboolfield(L, index, "liquid_renewable", f.liquid_renewable);