summaryrefslogtreecommitdiff
path: root/src/net/ea/traderecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/traderecv.cpp')
-rw-r--r--src/net/ea/traderecv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/traderecv.cpp b/src/net/ea/traderecv.cpp
index 9b5799c69..d47fc256b 100644
--- a/src/net/ea/traderecv.cpp
+++ b/src/net/ea/traderecv.cpp
@@ -83,7 +83,7 @@ void TradeRecv::processTradeResponseContinue(const uint8_t type)
}
break;
case 4: // Trade cancelled
- if (player_relations.hasPermission(tradePartnerName,
+ if (playerRelations.hasPermission(tradePartnerName,
PlayerRelation::SPEECH_LOG))
{
NotifyManager::notify(NotifyTypes::TRADE_CANCELLED_NAME,
@@ -141,7 +141,7 @@ void TradeRecv::processTradeComplete(Net::MessageIn &msg A_UNUSED)
void TradeRecv::processTradeRequestContinue(const std::string &partner)
{
- if (player_relations.hasPermission(partner,
+ if (playerRelations.hasPermission(partner,
PlayerRelation::TRADE))
{
if (PlayerInfo::isTrading() == Trading_true || (confirmDlg != nullptr))