Skip to content

Commit fe5cd08

Browse files
committed
fixed description tooltip being mismatched when using mouse dragging
1 parent 6690c81 commit fe5cd08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Source/Menus/BuyMenuGUI.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1753,6 +1753,7 @@ void BuyMenuGUI::Update() {
17531753
m_SelectedLoadoutIndex = m_DraggedItemIndex;
17541754
std::swap((*m_pShopList->GetItemList())[oldIndex], (*m_pShopList->GetItemList())[oldIndex + direction]);
17551755
std::swap((*m_pShopList->GetItemList())[oldIndex]->m_ID, (*m_pShopList->GetItemList())[oldIndex + direction]->m_ID);
1756+
std::swap((*m_pShopList->GetItemList())[oldIndex]->m_ExtraIndex, (*m_pShopList->GetItemList())[oldIndex + direction]->m_ExtraIndex);
17561757
std::swap(m_Loadouts[oldIndex], m_Loadouts[oldIndex + direction]);
17571758
}
17581759
}

0 commit comments

Comments
 (0)