From 2a01050a0cf0826f25240e2cb407535394ee360f Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sun, 9 Feb 2014 12:38:50 -0500 Subject: Add capability to read table flag fields from Lua API --- src/script/lua_api/l_mapgen.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/script/lua_api') diff --git a/src/script/lua_api/l_mapgen.cpp b/src/script/lua_api/l_mapgen.cpp index 4c6bca74e..2e6d848b3 100644 --- a/src/script/lua_api/l_mapgen.cpp +++ b/src/script/lua_api/l_mapgen.cpp @@ -456,7 +456,6 @@ int ModApiMapgen::l_register_ore(lua_State *L) ore->height_max = getintfield_default(L, index, "height_max", 0); ore->flags = getflagsfield(L, index, "flags", flagdesc_ore, NULL); ore->nthresh = getfloatfield_default(L, index, "noise_threshhold", 0.); - lua_getfield(L, index, "wherein"); if (lua_istable(L, -1)) { int i = lua_gettop(L); -- cgit v1.2.3