summaryrefslogtreecommitdiff
path: root/src/content_cao.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/content_cao.h')
-rw-r--r--src/content_cao.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content_cao.h b/src/content_cao.h
index a362b6be5..963e1a488 100644
--- a/src/content_cao.h
+++ b/src/content_cao.h
@@ -248,6 +248,9 @@ public:
{return pos_translator.vect_show;}
//{return m_position;}
+ // If returns true, punch will not be sent to the server
+ bool directReportPunch(const std::string &toolname, v3f dir);
+
private:
IntervalLimiter m_attack_interval;
core::aabbox3d<f32> m_selection_box;