aboutsummaryrefslogtreecommitdiff
path: root/src/content_sao.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-10-17 01:58:38 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-10-17 01:58:38 +0300
commitcfd19dcdb5ad7b623b3b7961577af6e9bbe18520 (patch)
tree56dd829c657357f7f40d5145b70d364d740ebe60 /src/content_sao.h
parentb0481b9db1769fa505b68a91f17f1aa6aee66438 (diff)
downloadminetest-cfd19dcdb5ad7b623b3b7961577af6e9bbe18520.tar.gz
minetest-cfd19dcdb5ad7b623b3b7961577af6e9bbe18520.tar.bz2
minetest-cfd19dcdb5ad7b623b3b7961577af6e9bbe18520.zip
Fix punching of oerkkis
Diffstat (limited to 'src/content_sao.h')
-rw-r--r--src/content_sao.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content_sao.h b/src/content_sao.h
index a335c12b8..f0ebf4f6f 100644
--- a/src/content_sao.h
+++ b/src/content_sao.h
@@ -96,7 +96,8 @@ public:
std::string getClientInitializationData();
std::string getStaticData();
InventoryItem* createPickedUpItem(){return NULL;}
- u16 punch(const std::string &toolname, v3f dir);
+ u16 punch(const std::string &toolname, v3f dir,
+ const std::string &playername);
bool isPeaceful(){return false;}
private:
void doDamage(u16 d);