]> git.lizzy.rs Git - minetest.git/commitdiff
Fix incorrect bit positions in paramtype documentation
authorAritz Erkiaga <aerkiaga3@gmail.com>
Thu, 6 Jan 2022 18:19:44 +0000 (19:19 +0100)
committersfan5 <sfan5@live.de>
Thu, 6 Jan 2022 20:16:23 +0000 (21:16 +0100)
doc/lua_api.txt

index 81b05abb088da88e6faba4ac7113c3000e763db7..d4dc19fdd09a4ecde6175cff20e8f81ab3ff9b6b 100644 (file)
@@ -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