diff --git a/src/engine/client/library/clientGame/src/shared/core/ObjectAttributeManager.cpp b/src/engine/client/library/clientGame/src/shared/core/ObjectAttributeManager.cpp index 56e8894b9..70049deff 100644 --- a/src/engine/client/library/clientGame/src/shared/core/ObjectAttributeManager.cpp +++ b/src/engine/client/library/clientGame/src/shared/core/ObjectAttributeManager.cpp @@ -1387,7 +1387,7 @@ bool ObjectAttributeManager::isNoTradeRemovable(NetworkId const & id) if (it != s_attribs.end()) { AttributeInfo const & info = it->second; - noTradeShared = info.noTradeRemovable; + noTradeRemovable = info.noTradeRemovable; } return noTradeRemovable; diff --git a/src/engine/shared/library/sharedGame/src/shared/core/SharedObjectAttributes.h b/src/engine/shared/library/sharedGame/src/shared/core/SharedObjectAttributes.h index 04f7b5317..74fe6ba33 100644 --- a/src/engine/shared/library/sharedGame/src/shared/core/SharedObjectAttributes.h +++ b/src/engine/shared/library/sharedGame/src/shared/core/SharedObjectAttributes.h @@ -95,6 +95,7 @@ namespace SharedObjectAttributes MAKE_ATTRIB (bio_link); MAKE_ATTRIB (no_trade); MAKE_ATTRIB (no_trade_shared); + MAKE_ATTRIB (no_trade_removable); MAKE_ATTRIB (unique); diff --git a/src/game/client/library/swgClientUserInterface/src/shared/page/SwgCuiInventoryInfo.cpp b/src/game/client/library/swgClientUserInterface/src/shared/page/SwgCuiInventoryInfo.cpp index 0b6f911d5..c624b6572 100644 --- a/src/game/client/library/swgClientUserInterface/src/shared/page/SwgCuiInventoryInfo.cpp +++ b/src/game/client/library/swgClientUserInterface/src/shared/page/SwgCuiInventoryInfo.cpp @@ -735,7 +735,7 @@ void SwgCuiInventoryInfo::updateAttributeFlags() if (ObjectAttributeManager::isNoTradeRemovable(object->getNetworkId())) { m_noTrade->SetLocalText(StringId("object_usability", "no_trade_removable").localize()); - m_noTrade->SetTooltip(CuiStringIds::no_trade_shared_removable.localize()); + m_noTrade->SetTooltip(CuiStringIds::no_trade_removable_tooltip.localize()); } else if (ObjectAttributeManager::isNoTradeShared(object->getNetworkId())) {