Sorting Items (Inventory Tabbed)

10/20/2016 11:12 trashee09#1
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?
10/20/2016 19:03 ディオニュソス#2
It's a really bad idea to implement the tabbed inventory like that.