mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-05 14:58:27 +00:00
resolved MacOS compilation warnings
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user