so i tried to sort the items by tabs. this is the sample code for second tab at AddItem Function.
Code:
if (pItemBase->GetProp()->dwItemKind2 == IK2_CLOTHETC || pItemBase->GetProp()->dwItemKind2 == IK2_CLOTH)
{
return m_Inventory2.Add( (CItemElem*)pItemBase );
}
but this is not working, the cs/fashion are still on the first tab. any ideas?