resolved MacOS compilation warnings

This commit is contained in:
EmosewaMC
2022-04-05 05:11:06 -07:00
parent a0a9936e47
commit 9d79fc3d2e
10 changed files with 15 additions and 15 deletions

View File

@@ -60,7 +60,7 @@ void Trade::SetCoins(LWOOBJID participant, uint64_t coins)
{
m_CoinsA = coins;
}
else if (participant = m_ParticipantB)
else if (participant == m_ParticipantB)
{
m_CoinsB = coins;
}
@@ -72,7 +72,7 @@ void Trade::SetItems(LWOOBJID participant, std::vector<TradeItem> items)
{
m_ItemsA = items;
}
else if (participant = m_ParticipantB)
else if (participant == m_ParticipantB)
{
m_ItemsB = items;
}