diff options
author | RealBadAngel <maciej.kasatkin@o2.pl> | 2016-01-08 15:59:36 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2016-01-18 17:21:41 +0000 |
commit | 87291ea44a61614d5bd9efc0657926da3f867b5f (patch) | |
tree | c5c046e5dc74211532f0fd88434283e49e190d98 /src/content_cao.h | |
parent | eb6e2c11b16c9ef5287bda224fa965a37ef49131 (diff) | |
download | hax-minetest-server-87291ea44a61614d5bd9efc0657926da3f867b5f.tar.gz hax-minetest-server-87291ea44a61614d5bd9efc0657926da3f867b5f.zip |
Show infotext with description for item entities
Diffstat (limited to 'src/content_cao.h')
-rw-r--r-- | src/content_cao.h | 5 |
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; + } }; |