aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2018-05-31 22:52:08 +0200
committerGitHub <noreply@github.com>2018-05-31 22:52:08 +0200
commit162ffd7fba9d4e79a29f65686f3efbebaee9cee8 (patch)
treed58d2329f223eb991b4c39c7cfce209c46edc284 /doc
parentdf991edaa8617730f4ad15648e9131325a0fe2e8 (diff)
downloadminetest-162ffd7fba9d4e79a29f65686f3efbebaee9cee8.tar.gz
minetest-162ffd7fba9d4e79a29f65686f3efbebaee9cee8.tar.bz2
minetest-162ffd7fba9d4e79a29f65686f3efbebaee9cee8.zip
Fix isNan on setYaw Lua call (#7380)
* Fix isNan on setYaw Lua call
Diffstat (limited to 'doc')
-rw-r--r--doc/client_lua_api.txt2
-rw-r--r--doc/lua_api.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt
index 5651898aa..bdefa3af5 100644
--- a/doc/client_lua_api.txt
+++ b/doc/client_lua_api.txt
@@ -609,6 +609,8 @@ Helper functions
* Converts a string representing an area box into two positions
* `minetest.is_yes(arg)`
* returns whether `arg` can be interpreted as yes
+* `minetest.is_nan(arg)`
+ * returns true true when the passed number represents NaN.
* `table.copy(table)`: returns a table
* returns a deep copy of `table`
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 13ba492a7..12008d0e8 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2541,6 +2541,8 @@ Helper functions
in formspecs.
* `minetest.is_yes(arg)`
* returns true if passed 'y', 'yes', 'true' or a number that isn't zero.
+* `minetest.is_nan(arg)`
+ * returns true when the passed number represents NaN.
* `minetest.get_us_time()`
* returns time with microsecond precision. May not return wall time.
* `table.copy(table)`: returns a table