summaryrefslogtreecommitdiff
path: root/src/content_cao.h
diff options
context:
space:
mode:
authorRealBadAngel <maciej.kasatkin@o2.pl>2016-01-08 15:59:36 +0100
committerparamat <mat.gregory@virginmedia.com>2016-01-18 17:21:41 +0000
commit87291ea44a61614d5bd9efc0657926da3f867b5f (patch)
treec5c046e5dc74211532f0fd88434283e49e190d98 /src/content_cao.h
parenteb6e2c11b16c9ef5287bda224fa965a37ef49131 (diff)
downloadminetest-87291ea44a61614d5bd9efc0657926da3f867b5f.tar.gz
minetest-87291ea44a61614d5bd9efc0657926da3f867b5f.tar.bz2
minetest-87291ea44a61614d5bd9efc0657926da3f867b5f.zip
Show infotext with description for item entities
Diffstat (limited to 'src/content_cao.h')
-rw-r--r--src/content_cao.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/content_cao.h b/src/content_cao.h
index d9145c5f1..abb242aa4 100644
--- a/src/content_cao.h
+++ b/src/content_cao.h
@@ -201,6 +201,11 @@ public:
float time_from_last_punch=1000000);
std::string debugInfoText();
+
+ std::string infoText()
+ {
+ return m_prop.infotext;
+ }
};