aboutsummaryrefslogtreecommitdiff
path: root/src/serverobject.h
diff options
context:
space:
mode:
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-30 19:46:55 +0200
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-30 19:47:55 +0200
commit96bee29e35f0790657fbd8bb67d2af79b498255c (patch)
tree0712c75629ab16fad84af11050ef94d8c8ac8137 /src/serverobject.h
parent82ea53499710c9a4e92ec595d8c14c417bdd0ee6 (diff)
parentf2051c98223d087c8ba3d7e4514935781c93ed1c (diff)
downloadminetest-96bee29e35f0790657fbd8bb67d2af79b498255c.tar.gz
minetest-96bee29e35f0790657fbd8bb67d2af79b498255c.tar.bz2
minetest-96bee29e35f0790657fbd8bb67d2af79b498255c.zip
Merge branch 'upstream/master'
Diffstat (limited to 'src/serverobject.h')
-rw-r--r--src/serverobject.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/serverobject.h b/src/serverobject.h
index c008bf93e..01f199a4b 100644
--- a/src/serverobject.h
+++ b/src/serverobject.h
@@ -42,6 +42,7 @@ Some planning
class ServerEnvironment;
class InventoryItem;
+class Player;
class ServerActiveObject : public ActiveObject
{
@@ -105,6 +106,10 @@ public:
*/
virtual u16 punch(const std::string &toolname, v3f dir)
{return 0;}
+
+ /*
+ */
+ virtual void rightClick(Player *player){}
/*
Number of players which know about this object. Object won't be