diff options
author | Jeija <norrepli@gmail.com> | 2013-01-27 10:33:25 +0100 |
---|---|---|
committer | PilzAdam <PilzAdam@gmx.de> | 2013-02-19 20:02:40 +0100 |
commit | 365c169b43f61b7f957bdd302b3cf9a837cabec1 (patch) | |
tree | 05117c9c24e525868c03d81e0d44a513b47d1548 /src/nodedef.h | |
parent | 214a8b4597728213065f1bf880f4357b723b5bea (diff) | |
download | minetest-365c169b43f61b7f957bdd302b3cf9a837cabec1.tar.gz minetest-365c169b43f61b7f957bdd302b3cf9a837cabec1.tar.bz2 minetest-365c169b43f61b7f957bdd302b3cf9a837cabec1.zip |
Disable placement prediction for nodes that use on_rightclick
Diffstat (limited to 'src/nodedef.h')
-rw-r--r-- | src/nodedef.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nodedef.h b/src/nodedef.h index 8588caeab..fa0c1f2e8 100644 --- a/src/nodedef.h +++ b/src/nodedef.h @@ -199,6 +199,8 @@ struct ContentFeatures bool climbable; // Player can build on these bool buildable_to; + // Player cannot build to these (placement prediction disabled) + bool rightclickable; // Whether the node is non-liquid, source liquid or flowing liquid enum LiquidType liquid_type; // If the content is liquid, this is the flowing version of the liquid. |