Skip to content

Commit

Permalink
xrGame/ui/UIActorMenuTrade.cpp: fix items visibility for trade
Browse files Browse the repository at this point in the history
  • Loading branch information
ChugunovRoman committed Dec 24, 2024
1 parent eaba3a1 commit f29dba4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/xrGame/ui/UIActorMenuTrade.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,6 @@ void CUIActorMenu::InitPartnerInventoryContents()
m_pPartnerInvOwner->inventory().AddAvailableItems(items_list, true);
std::sort(items_list.begin(), items_list.end(), InventoryUtilities::GreaterRoomInRuck);

SetInvGridSize(m_pLists[eTradeActorList]);
SetInvGridSize(m_pLists[eTradeActorBagList]);
SetInvGridSize(m_pLists[eTradePartnerList]);
SetInvGridSize(m_pLists[eTradePartnerBagList]);

TIItemContainer::iterator itb = items_list.begin();
TIItemContainer::iterator ite = items_list.end();
for (; itb != ite; ++itb)
Expand Down

0 comments on commit f29dba4

Please sign in to comment.