diff options
Diffstat (limited to 'src/client/content_cao.h')
-rw-r--r-- | src/client/content_cao.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/content_cao.h b/src/client/content_cao.h index 88aa4870c..51b58b030 100644 --- a/src/client/content_cao.h +++ b/src/client/content_cao.h @@ -215,6 +215,8 @@ public: m_is_visible = toset; } + bool isItem() const { return m_prop.visual == "wielditem" || m_prop.visual == "item"; } + void setChildrenVisible(bool toset); void setAttachment(int parent_id, const std::string &bone, v3f position, v3f rotation); void getAttachment(int *parent_id, std::string *bone, v3f *position, |