From: theviper121 Date: Mon, 19 Aug 2019 17:18:11 +0000 (-0500) Subject: Restore intended functionality to minimap markers (#8819) X-Git-Tag: 5.1.0~93 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ded5da780002c17f2079a1d8ea09eb923a3b5e8f;p=oweals%2Fminetest.git Restore intended functionality to minimap markers (#8819) --- diff --git a/src/client/minimap.cpp b/src/client/minimap.cpp index 4d83c088a..68770ec19 100644 --- 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->getAbsolutePosition() + intToFloat(client->getCamera()->getOffset(), BS), BS); pos -= data->pos - v3s16(data->map_size / 2, data->scan_height / 2,