aboutsummaryrefslogtreecommitdiff
path: root/src/script/common/c_content.h
diff options
context:
space:
mode:
authorJude Melton-Houghton <jwmhjwmh@gmail.com>2022-10-18 18:01:44 -0400
committerGitHub <noreply@github.com>2022-10-18 18:01:44 -0400
commitb38ffdec279bcded98e34f5116c8d676aa9f73a7 (patch)
tree31cafdb009b2f81b61a96286a3800a8e408f8f3d /src/script/common/c_content.h
parent23e9f5db4330a6efee5270160a3959422926ce77 (diff)
downloadminetest-b38ffdec279bcded98e34f5116c8d676aa9f73a7.tar.xz
Implement vector and node conversion in Lua (#12609)
Co-authored-by: sfan5 <sfan5@live.de>
Diffstat (limited to 'src/script/common/c_content.h')
-rw-r--r--src/script/common/c_content.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/script/common/c_content.h b/src/script/common/c_content.h
index ade3e4c1e..457b3f840 100644
--- a/src/script/common/c_content.h
+++ b/src/script/common/c_content.h
@@ -129,10 +129,8 @@ void read_inventory_list (lua_State *L, int tableindex,
Inventory *inv, const char *name,
IGameDef *gdef, int forcesize=-1);
-MapNode readnode (lua_State *L, int index,
- const NodeDefManager *ndef);
-void pushnode (lua_State *L, const MapNode &n,
- const NodeDefManager *ndef);
+MapNode readnode (lua_State *L, int index);
+void pushnode (lua_State *L, const MapNode &n);
void read_groups (lua_State *L, int index,