From 0a434d6402d71692f2518487af73d4a7094f588e Mon Sep 17 00:00:00 2001 From: Nuno Date: Fri, 17 Dec 2021 01:21:59 +0100 Subject: [PATCH] Improvements in compass --- ryzom/client/src/interface_v3/group_compas.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ryzom/client/src/interface_v3/group_compas.cpp b/ryzom/client/src/interface_v3/group_compas.cpp index 97eb64bcb..85ccfcd60 100644 --- a/ryzom/client/src/interface_v3/group_compas.cpp +++ b/ryzom/client/src/interface_v3/group_compas.cpp @@ -431,11 +431,11 @@ void CGroupCompas::draw() } } - CCtrlBase *toolTip = getCtrl("tt"); + CCtrlBase *toolTip = getCtrl("open_menu"); if (toolTip) { if (displayedTarget.getType() != CCompassTarget::North) - toolTip->setDefaultContextHelp(CI18N::get("uittCompassDistance")); + toolTip->setDefaultContextHelp(displayedTarget.Name); else toolTip->setDefaultContextHelp(std::string()); }