From e3cef8803eae3822f1fc97e2e67d972ba6bd02ae Mon Sep 17 00:00:00 2001 From: Ulukyn Date: Mon, 17 Feb 2020 17:45:50 +0100 Subject: [PATCH] Changed: Disable help phrase in a special case --- code/ryzom/client/src/interface_v3/action_handler_help.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/ryzom/client/src/interface_v3/action_handler_help.cpp b/code/ryzom/client/src/interface_v3/action_handler_help.cpp index ac1480e0c..ecb19248e 100644 --- a/code/ryzom/client/src/interface_v3/action_handler_help.cpp +++ b/code/ryzom/client/src/interface_v3/action_handler_help.cpp @@ -2129,8 +2129,9 @@ static void setupEnchantedItem(CSheetHelpSetup &setup, ucstring &itemText) const CItemSheet *pIS= ctrl->asItemSheet(); if(pIS && pIS->Family == ITEMFAMILY::CRYSTALLIZED_SPELL) pPM->buildPhraseDesc(enchantInfo, itemInfo.Enchantment, 0, false, "uihelpPhraseCrystalSpellFormat"); - else + else if(!pIS || pIS->Family != ITEMFAMILY::JEWELRY) { pPM->buildPhraseDesc(enchantInfo, itemInfo.Enchantment, 0, false, "uihelpPhraseEnchantmentFormat"); + } // replace strFindReplace(itemText, enchantTag, enchantInfo );