summaryrefslogtreecommitdiff
path: root/src/mapnode.h
diff options
context:
space:
mode:
authorparamat <paramat@users.noreply.github.com>2017-09-18 05:08:56 +0100
committerparamat <mat.gregory@virginmedia.com>2017-09-18 11:05:39 +0100
commitd8f20d029a17551dab35a850bed48a62c1a02618 (patch)
treeeee07899e187e8a6ebd835f46160391a76c0dfcf /src/mapnode.h
parent27144b471678b30156ad3383fb8d26a5bd9b66cb (diff)
downloadminetest-d8f20d029a17551dab35a850bed48a62c1a02618.tar.gz
minetest-d8f20d029a17551dab35a850bed48a62c1a02618.tar.bz2
minetest-d8f20d029a17551dab35a850bed48a62c1a02618.zip
Leveled nodebox: Change levels from 1/63rds to 1/64ths
Add missing documentation of leveled nodebox to lua_api.txt, plus a little cleaning up nearby.
Diffstat (limited to 'src/mapnode.h')
-rw-r--r--src/mapnode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapnode.h b/src/mapnode.h
index 1e7597e4d..338ae41fe 100644
--- a/src/mapnode.h
+++ b/src/mapnode.h
@@ -102,8 +102,8 @@ enum Rotation {
#define LIQUID_INFINITY_MASK 0x80 //0b10000000
-// mask for param2, now as for liquid
-#define LEVELED_MASK 0x3F
+// mask for leveled nodebox param2
+#define LEVELED_MASK 0x7F
#define LEVELED_MAX LEVELED_MASK