diff options
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/actions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index b857f0f10..1c6fc3194 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -599,7 +599,7 @@ impHandler0(openTrade) const Being *const being = localPlayer->getTarget(); if (being && being->getType() == ActorType::Player) { - Net::getTradeHandler()->request(being); + tradeHandler->request(being); tradePartnerName = being->getName(); if (tradeWindow) tradeWindow->clear(); @@ -688,7 +688,7 @@ impHandler(trade) being = localPlayer->getTarget(); if (being) { - Net::getTradeHandler()->request(being); + tradeHandler->request(being); tradePartnerName = being->getName(); if (tradeWindow) tradeWindow->clear(); |