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:
dea5a15
)
Restore intended functionality to minimap markers (#8819)
author
theviper121
<theviper121@gmail.com>
Mon, 19 Aug 2019 17:18:11 +0000
(12:18 -0500)
committer
SmallJoker
<SmallJoker@users.noreply.github.com>
Mon, 19 Aug 2019 17:18:11 +0000
(19:18 +0200)
src/client/minimap.cpp
patch
|
blob
|
history
diff --git
a/src/client/minimap.cpp
b/src/client/minimap.cpp
index 4d83c088addf9013f4999775bbd571514c372be8..68770ec198bc0f17ce2fd0522606d69b977a5158 100644
(file)
--- a/
src/client/minimap.cpp
+++ b/
src/client/minimap.cpp
@@
-569,7
+569,7
@@
void Minimap::updateActiveMarkers()
m_active_markers.clear();
for (Nametag *nametag : nametags) {
- v3s16 pos = floatToInt(nametag->parent_node->getPosition() +
+ v3s16 pos = floatToInt(nametag->parent_node->get
Absolute
Position() +
intToFloat(client->getCamera()->getOffset(), BS), BS);
pos -= data->pos - v3s16(data->map_size / 2,
data->scan_height / 2,