diff options
author | proller <proller@github.com> | 2013-07-13 21:48:14 +0400 |
---|---|---|
committer | proller <proller@github.com> | 2013-07-13 22:13:24 +0400 |
commit | 9733dd5b5e5516e18775665db132b2446492716c (patch) | |
tree | cb665ab99ebab101c563076a9e31a94a2ce293d4 /src/script/common | |
parent | a70993d6d20b4668556a8792ecd952d84a7e6939 (diff) | |
download | minetest-9733dd5b5e5516e18775665db132b2446492716c.tar.gz minetest-9733dd5b5e5516e18775665db132b2446492716c.tar.bz2 minetest-9733dd5b5e5516e18775665db132b2446492716c.zip |
Leveled nodebox
Diffstat (limited to 'src/script/common')
-rw-r--r-- | src/script/common/c_content.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/common/c_content.cpp b/src/script/common/c_content.cpp index 4ea296523..11f749160 100644 --- a/src/script/common/c_content.cpp +++ b/src/script/common/c_content.cpp @@ -389,6 +389,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.leveled = getintfield_default(L, index, "leveled", f.leveled); + getboolfield(L, index, "liquid_renewable", f.liquid_renewable); getboolfield(L, index, "drowning", f.drowning); // Amount of light the node emits |