diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-07-30 18:51:15 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-07-30 18:51:15 +0300 |
commit | d62ae0e18bc570033ada07454b1642f696fe17b1 (patch) | |
tree | 69564fe33c88a90e74ccf0da356e9664ecc32817 /src/serverobject.h | |
parent | 4556c212dba726271352b05a9299564e05abb218 (diff) | |
download | minetest-d62ae0e18bc570033ada07454b1642f696fe17b1.tar.gz minetest-d62ae0e18bc570033ada07454b1642f696fe17b1.tar.bz2 minetest-d62ae0e18bc570033ada07454b1642f696fe17b1.zip |
Rats are now eatable. Also made their selection box move smoothly.
Diffstat (limited to 'src/serverobject.h')
-rw-r--r-- | src/serverobject.h | 5 |
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 |