Restore intended functionality to minimap markers (#8819)

This commit is contained in:
theviper121 2019-08-19 12:18:11 -05:00 committed by SmallJoker
parent dea5a152b2
commit ded5da7800
1 changed files with 1 additions and 1 deletions

View File

@ -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,