aboutsummaryrefslogtreecommitdiff
path: root/src/nodedef.h
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/nodedef.h
parent755df5f659899e961a7b1875837088fbc6cc1a55 (diff)
parent926830e0df7b95d4e53c917db07236ef3e19e991 (diff)
downloadhax-minetest-server-3cab24fbcfbbeb12cdd9f085167969e1a934bd59.tar.gz
hax-minetest-server-3cab24fbcfbbeb12cdd9f085167969e1a934bd59.zip
Merge pull request #243 from xyzz/liquid_renewable
Add liquid_renewable property, allow non-renewable liquids.
Diffstat (limited to 'src/nodedef.h')
-rw-r--r--src/nodedef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nodedef.h b/src/nodedef.h
index 7c6931834..4ff6c6b48 100644
--- a/src/nodedef.h
+++ b/src/nodedef.h
@@ -209,6 +209,8 @@ struct ContentFeatures
// 1 giving almost instantaneous propagation and 7 being
// the slowest possible
u8 liquid_viscosity;
+ // Is liquid renewable (new liquid source will be created between 2 existing)
+ bool liquid_renewable;
// Amount of light the node emits
u8 light_source;
u32 damage_per_second;