summaryrefslogtreecommitdiff
path: root/src/content_cao.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-10-15 16:04:25 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-10-15 16:04:25 +0300
commit3f58028d3198e77ce26d09680f0a637188610871 (patch)
treed67eceb68336e9e1d0d74de25c71eabec1ef485e /src/content_cao.h
parent94dfececf6b4cf5d996ff2a12e7801bd640b1a57 (diff)
downloadminetest-3f58028d3198e77ce26d09680f0a637188610871.tar.gz
minetest-3f58028d3198e77ce26d09680f0a637188610871.tar.bz2
minetest-3f58028d3198e77ce26d09680f0a637188610871.zip
Make dungeon masters though and make oerkkis disappear when they get to you (because hitting them doesn't work for some unknown reason)
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;