summaryrefslogtreecommitdiff
path: root/src/clientobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/clientobject.h')
-rw-r--r--src/clientobject.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/clientobject.h b/src/clientobject.h
index 2e1b850c7..946858404 100644
--- a/src/clientobject.h
+++ b/src/clientobject.h
@@ -38,6 +38,8 @@ Some planning
class ClientEnvironment;
class ITextureSource;
class IGameDef;
+class LocalPlayer;
+struct ItemStack;
class ClientActiveObject : public ActiveObject
{
@@ -75,7 +77,8 @@ public:
ClientEnvironment *env);
// If returns true, punch will not be sent to the server
- virtual bool directReportPunch(const std::string &toolname, v3f dir)
+ virtual bool directReportPunch(v3f dir, const ItemStack *punchitem=NULL,
+ float time_from_last_punch=1000000)
{ return false; }
protected: