1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 00:55:20 +02:00

Add option to also check the center to find_node_near (#5255)

* Add option to also check the center to `find_node_near`
This commit is contained in:
red-001
2017-05-04 21:52:58 +01:00
committed by Loïc Blot
parent 6fb27d3b2e
commit d6cf5450a8
3 changed files with 12 additions and 10 deletions

View File

@@ -116,7 +116,7 @@ private:
// get_day_count() -> int
static int l_get_day_count(lua_State *L);
// find_node_near(pos, radius, nodenames) -> pos or nil
// find_node_near(pos, radius, nodenames, search_center) -> pos or nil
// nodenames: eg. {"ignore", "group:tree"} or "default:dirt"
static int l_find_node_near(lua_State *L);