From 2d83507b5564e828643ce5cb1e78a42b799550ac Mon Sep 17 00:00:00 2001 From: Riasan Date: Sat, 29 Sep 2018 12:34:55 +0200 Subject: [PATCH] Changed: active teleport option via map on r2 for privs --HG-- branch : patches-from-atys --- code/ryzom/client/src/interface_v3/group_map.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/ryzom/client/src/interface_v3/group_map.cpp b/code/ryzom/client/src/interface_v3/group_map.cpp index 2df88fe1e..5e7c9e4c8 100644 --- a/code/ryzom/client/src/interface_v3/group_map.cpp +++ b/code/ryzom/client/src/interface_v3/group_map.cpp @@ -2626,6 +2626,9 @@ static void hideTeleportButtonsInPopupMenuIfNotEnoughPriv() CInterfaceElement *ie = CWidgetManager::getInstance()->getElementFromId("ui:interface:map_menu:teleport"); if(ie) ie->setActive(showTeleport); + + ie = CWidgetManager::getInstance()->getElementFromId("ui:interface:map_menu_island:teleport"); + if(ie) ie->setActive(showTeleport); ie = CWidgetManager::getInstance()->getElementFromId("ui:interface:land_mark_menu:lmteleport"); if(ie) ie->setActive(showTeleport);