1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add LuaVoxelManip methods: get_node_at() and set_node_at()

This commit is contained in:
kwolekr 2014-09-01 17:33:21 -04:00
parent 9e4e7072da
commit f3eefeb794
4 changed files with 41 additions and 6 deletions

View file

@ -35,10 +35,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "treegen.h"
#include "pathfinder.h"
#define GET_ENV_PTR ServerEnvironment* env = \
dynamic_cast<ServerEnvironment*>(getEnv(L)); \
if( env == NULL) return 0
if (env == NULL) return 0
///////////////////////////////////////////////////////////////////////////////