From f3eefeb7948b8b8d1a98f2f89baa39abc807f72d Mon Sep 17 00:00:00 2001 From: kwolekr Date: Mon, 1 Sep 2014 17:33:21 -0400 Subject: Add LuaVoxelManip methods: get_node_at() and set_node_at() --- src/script/lua_api/l_env.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/script/lua_api/l_env.cpp') diff --git a/src/script/lua_api/l_env.cpp b/src/script/lua_api/l_env.cpp index deeb5966f..fedaccd0f 100644 --- a/src/script/lua_api/l_env.cpp +++ b/src/script/lua_api/l_env.cpp @@ -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(getEnv(L)); \ - if( env == NULL) return 0 + if (env == NULL) return 0 /////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3