summaryrefslogtreecommitdiff
path: root/src/content_sao.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/content_sao.h')
-rw-r--r--src/content_sao.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/content_sao.h b/src/content_sao.h
index cc372ff55..4a8c70e16 100644
--- a/src/content_sao.h
+++ b/src/content_sao.h
@@ -197,6 +197,8 @@ public:
void setAttachment(int parent_id, std::string bone, v3f position, v3f rotation);
ObjectProperties* accessObjectProperties();
void notifyObjectPropertiesModified();
+ void setNametagColor(video::SColor color);
+ video::SColor getNametagColor();
/*
Inventory interface
@@ -313,6 +315,9 @@ private:
v3f m_attachment_rotation;
bool m_attachment_sent;
+ video::SColor m_nametag_color;
+ bool m_nametag_sent;
+
public:
float m_physics_override_speed;
float m_physics_override_jump;