aboutsummaryrefslogtreecommitdiff
path: root/src/scriptapi.cpp
diff options
context:
space:
mode:
authorPilzAdam <adam-k@outlook.com>2012-11-03 12:34:44 -0700
committerPilzAdam <adam-k@outlook.com>2012-11-03 12:34:44 -0700
commit3cab24fbcfbbeb12cdd9f085167969e1a934bd59 (patch)
tree2e3d14987c808e44cce1dd108b6c3224fc158ecf /src/scriptapi.cpp
parent755df5f659899e961a7b1875837088fbc6cc1a55 (diff)
parent926830e0df7b95d4e53c917db07236ef3e19e991 (diff)
downloadminetest-3cab24fbcfbbeb12cdd9f085167969e1a934bd59.tar.gz
minetest-3cab24fbcfbbeb12cdd9f085167969e1a934bd59.tar.bz2
minetest-3cab24fbcfbbeb12cdd9f085167969e1a934bd59.zip
Merge pull request #243 from xyzz/liquid_renewable
Add liquid_renewable property, allow non-renewable liquids.
Diffstat (limited to 'src/scriptapi.cpp')
-rw-r--r--src/scriptapi.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scriptapi.cpp b/src/scriptapi.cpp
index 9fa927ff3..09900ce1f 100644
--- a/src/scriptapi.cpp
+++ b/src/scriptapi.cpp
@@ -1238,6 +1238,7 @@ static ContentFeatures read_content_features(lua_State *L, int index)
// the slowest possible
f.liquid_viscosity = getintfield_default(L, index,
"liquid_viscosity", f.liquid_viscosity);
+ getboolfield(L, index, "liquid_renewable", f.liquid_renewable);
// Amount of light the node emits
f.light_source = getintfield_default(L, index,
"light_source", f.light_source);