diff options
author | Elias Fleckenstein <54945686+EliasFleckenstein03@users.noreply.github.com> | 2020-12-29 16:50:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-29 16:50:09 +0100 |
commit | 9250b5205a6c627dfa18b7870b454d74f8d9dae6 (patch) | |
tree | 029b10d67356eb052fe2594f3d58967dc9d2a88e /src/script/lua_api/l_env.h | |
parent | 09d7fbd645888aac32d089ff528ac1d1eb87e72d (diff) | |
download | minetest-9250b5205a6c627dfa18b7870b454d74f8d9dae6.tar.gz minetest-9250b5205a6c627dfa18b7870b454d74f8d9dae6.tar.bz2 minetest-9250b5205a6c627dfa18b7870b454d74f8d9dae6.zip |
Add minetest.get_objects_in_area (#10668)
Diffstat (limited to 'src/script/lua_api/l_env.h')
-rw-r--r-- | src/script/lua_api/l_env.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/lua_api/l_env.h b/src/script/lua_api/l_env.h index 7f212b5fc..42c2d64f8 100644 --- a/src/script/lua_api/l_env.h +++ b/src/script/lua_api/l_env.h @@ -114,6 +114,9 @@ private: // get_objects_inside_radius(pos, radius) static int l_get_objects_inside_radius(lua_State *L); + + // get_objects_in_area(pos, minp, maxp) + static int l_get_objects_in_area(lua_State *L); // set_timeofday(val) // val = 0...1 |