1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-12 16:58:39 +00:00

Disable placement prediction for nodes that use on_rightclick

This commit is contained in:
Jeija 2013-01-27 10:33:25 +01:00 committed by PilzAdam
parent 214a8b4597
commit 365c169b43
6 changed files with 15 additions and 2 deletions

View file

@ -62,6 +62,8 @@ struct ItemDefinition
*/
s16 stack_max;
bool usable;
// If true, don't use node placement prediction
bool rightclickable;
bool liquids_pointable;
// May be NULL. If non-NULL, deleted by destructor
ToolCapabilities *tool_capabilities;