summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAritz Erkiaga <aerkiaga3@gmail.com>2022-01-06 19:19:44 +0100
committersfan5 <sfan5@live.de>2022-01-06 21:16:23 +0100
commit85da2e284b8091062e1b53ad5a703aae6cbc3a3c (patch)
tree0e7c8719fefb839e221b82e1d65f064fbce9843c
parente39b159845871fbb1634570bd4af999c1c72e6fa (diff)
downloadminetest-85da2e284b8091062e1b53ad5a703aae6cbc3a3c.tar.gz
minetest-85da2e284b8091062e1b53ad5a703aae6cbc3a3c.tar.bz2
minetest-85da2e284b8091062e1b53ad5a703aae6cbc3a3c.zip
Fix incorrect bit positions in paramtype documentation
-rw-r--r--doc/lua_api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 81b05abb0..d4dc19fdd 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1026,7 +1026,7 @@ The function of `param1` is determined by `paramtype` in node definition.
`param1` is reserved for the engine when `paramtype != "none"`.
* `paramtype = "light"`
- * The value stores light with and without sun in its upper and lower 4 bits
+ * The value stores light with and without sun in its lower and upper 4 bits
respectively.
* Required by a light source node to enable spreading its light.
* Required by the following drawtypes as they determine their visual