aboutsummaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
Diffstat (limited to 'src/script')
-rw-r--r--src/script/cpp_api/s_node.cpp24
-rw-r--r--src/script/cpp_api/s_node.h2
2 files changed, 0 insertions, 26 deletions
diff --git a/src/script/cpp_api/s_node.cpp b/src/script/cpp_api/s_node.cpp
index 591e26975..c8f85317e 100644
--- a/src/script/cpp_api/s_node.cpp
+++ b/src/script/cpp_api/s_node.cpp
@@ -270,27 +270,3 @@ void ScriptApiNode::node_on_receive_fields(v3s16 p,
PCALL_RES(lua_pcall(L, 4, 0, error_handler));
lua_pop(L, 1); // Pop error handler
}
-
-void ScriptApiNode::node_falling_update(v3s16 p)
-{
- SCRIPTAPI_PRECHECKHEADER
-
- int error_handler = PUSH_ERROR_HANDLER(L);
-
- lua_getglobal(L, "nodeupdate");
- push_v3s16(L, p);
- PCALL_RES(lua_pcall(L, 1, 0, error_handler));
- lua_pop(L, 1); // Pop error handler
-}
-
-void ScriptApiNode::node_falling_update_single(v3s16 p)
-{
- SCRIPTAPI_PRECHECKHEADER
-
- int error_handler = PUSH_ERROR_HANDLER(L);
-
- lua_getglobal(L, "nodeupdate_single");
- push_v3s16(L, p);
- PCALL_RES(lua_pcall(L, 1, 0, error_handler));
- lua_pop(L, 1); // Pop error handler
-}
diff --git a/src/script/cpp_api/s_node.h b/src/script/cpp_api/s_node.h
index 5b6509c83..e7c0c01d1 100644
--- a/src/script/cpp_api/s_node.h
+++ b/src/script/cpp_api/s_node.h
@@ -48,8 +48,6 @@ public:
const std::string &formname,
const StringMap &fields,
ServerActiveObject *sender);
- void node_falling_update(v3s16 p);
- void node_falling_update_single(v3s16 p);
public:
static struct EnumString es_DrawType[];
static struct EnumString es_ContentParamType[];