From 7cb5c817a67d35cd29ddc01f5ac7dfc1b2564db7 Mon Sep 17 00:00:00 2001 From: Nimetu Date: Thu, 12 Mar 2020 17:53:47 +0200 Subject: [PATCH] Fixed: Switching continents ignored user landmark show/hide state --- code/ryzom/client/src/interface_v3/group_map.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/ryzom/client/src/interface_v3/group_map.cpp b/code/ryzom/client/src/interface_v3/group_map.cpp index 0e83c3cc2..8e91af2c6 100644 --- a/code/ryzom/client/src/interface_v3/group_map.cpp +++ b/code/ryzom/client/src/interface_v3/group_map.cpp @@ -2627,7 +2627,11 @@ void CGroupMap::createContinentLandMarks() CLandMarkOptions options = getUserLandMarkOptions(k); addLandMark(_UserLM, mapPos, _CurContinent->UserLandMarks[k].Title, options); - if (_LandmarkFilter.size() > 0) + if (!_UserLandMarkVisible) + { + _UserLM.back()->setActive(false); + } + else if (_LandmarkFilter.size() > 0) { if (filterLandmark(_CurContinent->UserLandMarks[k].Title)) {