summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_env.cpp
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2014-09-01 17:33:21 -0400
committerkwolekr <kwolekr@minetest.net>2014-09-01 17:33:21 -0400
commitf3eefeb7948b8b8d1a98f2f89baa39abc807f72d (patch)
tree86f51e45a4da09351b37a39610cd671e8dce0dfd /src/script/lua_api/l_env.cpp
parent9e4e7072da8f565eef37da7558053a436b9cbba3 (diff)
downloadminetest-f3eefeb7948b8b8d1a98f2f89baa39abc807f72d.tar.gz
minetest-f3eefeb7948b8b8d1a98f2f89baa39abc807f72d.tar.bz2
minetest-f3eefeb7948b8b8d1a98f2f89baa39abc807f72d.zip
Add LuaVoxelManip methods: get_node_at() and set_node_at()
Diffstat (limited to 'src/script/lua_api/l_env.cpp')
-rw-r--r--src/script/lua_api/l_env.cpp3
1 files changed, 1 insertions, 2 deletions
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<ServerEnvironment*>(getEnv(L)); \
- if( env == NULL) return 0
+ if (env == NULL) return 0
///////////////////////////////////////////////////////////////////////////////