projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af89a25
)
Position entity nametags relative to selection-box (#7031)
author
stujones11
<stujones111@gmail.com>
Sat, 10 Feb 2018 09:42:33 +0000
(09:42 +0000)
committer
SmallJoker
<SmallJoker@users.noreply.github.com>
Sat, 10 Feb 2018 09:42:33 +0000
(10:42 +0100)
src/content_cao.cpp
patch
|
blob
|
history
diff --git
a/src/content_cao.cpp
b/src/content_cao.cpp
index affa092e7fc75f5e55fb458b419dfab7dbe2da44..2d43f4b3cce5384ef1b47f630614d1da822ac81d 100644
(file)
--- 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.
collis
ionbox.MaxEdge.Y + 0.3f;
+ pos.Y = m_prop.
select
ionbox.MaxEdge.Y + 0.3f;
m_nametag = m_client->getCamera()->addNametag(node,
m_prop.nametag, m_prop.nametag_color,
pos);