aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/content_cao.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content_cao.cpp b/src/content_cao.cpp
index affa092e7..2d43f4b3c 100644
--- a/src/content_cao.cpp
+++ b/src/content_cao.cpp
@@ -636,7 +636,7 @@ void GenericCAO::addToScene(ITextureSource *tsrc)
if (node && !m_prop.nametag.empty() && !m_is_local_player) {
// Add nametag
v3f pos;
- pos.Y = m_prop.collisionbox.MaxEdge.Y + 0.3f;
+ pos.Y = m_prop.selectionbox.MaxEdge.Y + 0.3f;
m_nametag = m_client->getCamera()->addNametag(node,
m_prop.nametag, m_prop.nametag_color,
pos);