Resolve "Remove Open menu option from scroll items when item use a Scroll.Label"

38-add-smooth-resizing-of-entitie-when-vpb-are-changed
Nuno Gonçalves (Ulukyn) 3 years ago
parent 71a2c6f6e8
commit 22b4c074e8

@ -1881,7 +1881,7 @@ class CHandlerItemMenuCheck : public IActionHandler
} }
if (pItemTextDisplay && pIS->Family == ITEMFAMILY::SCROLL) if (pItemTextDisplay && pIS->Family == ITEMFAMILY::SCROLL)
{ {
if (pCS->getInventoryIndex()==INVENTORIES::bag) if (pCS->getInventoryIndex()==INVENTORIES::bag && pIS->Scroll.Label.empty())
pItemTextDisplay->setActive(true); pItemTextDisplay->setActive(true);
pItemInfos->setActive(false); pItemInfos->setActive(false);
} }

Loading…
Cancel
Save