Skip to content
Permalink
Browse files

Restore intended functionality to minimap markers (#8819)

  • Loading branch information...
theviper121 authored and SmallJoker committed Aug 19, 2019
1 parent dea5a15 commit ded5da780002c17f2079a1d8ea09eb923a3b5e8f
Showing with 1 addition and 1 deletion.
  1. +1 −1 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->getAbsolutePosition() +
intToFloat(client->getCamera()->getOffset(), BS), BS);
pos -= data->pos - v3s16(data->map_size / 2,
data->scan_height / 2,

0 comments on commit ded5da7

Please sign in to comment.
You can’t perform that action at this time.