From 4718c86cc8239d9ebc960519d799193a0ad68139 Mon Sep 17 00:00:00 2001 From: Bemvaras <169070864+Barathos@users.noreply.github.com> Date: Fri, 18 Jul 2025 18:10:58 -0700 Subject: [PATCH] fix ornamentation clearing --- common/item_instance.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/common/item_instance.cpp b/common/item_instance.cpp index bb048b1fbdd..94b8775da50 100644 --- a/common/item_instance.cpp +++ b/common/item_instance.cpp @@ -612,11 +612,14 @@ bool EQ::ItemInstance::UpdateOrnamentationInfo() } } - SetOrnamentIcon(0); - SetOrnamentHeroModel(0); - SetOrnamentationIDFile(0); - - return false; + if (!(m_ornamenticon || m_ornamentidfile || m_ornament_hero_model)) { + SetOrnamentIcon(0); + SetOrnamentHeroModel(0); + SetOrnamentationIDFile(0); + return false; + } + + return true; } bool EQ::ItemInstance::CanTransform(const ItemData *ItemToTry, const ItemData *Container, bool AllowAll) {