Skip to content

Commit

Permalink
Fix incorrect bit positions in paramtype documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
aerkiaga authored and sfan5 committed Jan 6, 2022
1 parent e39b159 commit 85da2e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/lua_api.txt
Expand Up @@ -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
Expand Down

0 comments on commit 85da2e2

Please sign in to comment.