aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_node.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/cpp_api/s_node.h')
-rw-r--r--src/script/cpp_api/s_node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/cpp_api/s_node.h b/src/script/cpp_api/s_node.h
index e7c0c01d1..81b44f0f0 100644
--- a/src/script/cpp_api/s_node.h
+++ b/src/script/cpp_api/s_node.h
@@ -36,7 +36,7 @@ public:
virtual ~ScriptApiNode() = default;
bool node_on_punch(v3s16 p, MapNode node,
- ServerActiveObject *puncher, PointedThing pointed);
+ ServerActiveObject *puncher, const PointedThing &pointed);
bool node_on_dig(v3s16 p, MapNode node,
ServerActiveObject *digger);
void node_on_construct(v3s16 p, MapNode node);