Skip to content

Commit 85da2e2

Browse files
aerkiagasfan5
authored andcommittedJan 6, 2022
Fix incorrect bit positions in paramtype documentation
1 parent e39b159 commit 85da2e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎doc/lua_api.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ The function of `param1` is determined by `paramtype` in node definition.
10261026
`param1` is reserved for the engine when `paramtype != "none"`.
10271027

10281028
* `paramtype = "light"`
1029-
* The value stores light with and without sun in its upper and lower 4 bits
1029+
* The value stores light with and without sun in its lower and upper 4 bits
10301030
respectively.
10311031
* Required by a light source node to enable spreading its light.
10321032
* Required by the following drawtypes as they determine their visual

0 commit comments

Comments
 (0)
Please sign in to comment.