From 8f65f3c6744a2facb4af0ad35a8afe0f8b4517c0 Mon Sep 17 00:00:00 2001 From: ariel-logos Date: Wed, 12 Mar 2025 23:50:16 +0100 Subject: [PATCH] change-to-UpdateRemovedSlotsLookForLockStyle --- src/map/utils/charutils.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/map/utils/charutils.cpp b/src/map/utils/charutils.cpp index 4b34a194ff3..139e2b224a6 100644 --- a/src/map/utils/charutils.cpp +++ b/src/map/utils/charutils.cpp @@ -2388,6 +2388,11 @@ namespace charutils } auto removeSlotID = PItem->getRemoveSlotLookId(); + // Some of the items don't have rslotlook set so we fall back on rslot to know which part to hide + if (removeSlotID == 0) + { + removeSlotID = PItem->getRemoveSlotId(); + } if (removeSlotID > 0) { for (auto i = 4u; i <= 8u; i++)