summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 11:59:03 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 11:59:03 +0300
commit3aaebb5b7f1faf46d9f437ba00e7650147453952 (patch)
treefa5f0949dd16db6b30b0132a02f33d3fe784acb0 /src/actions
parentc81a850333f6e651e0dddb764e98a0fae45ca5f4 (diff)
downloadplus-3aaebb5b7f1faf46d9f437ba00e7650147453952.tar.gz
plus-3aaebb5b7f1faf46d9f437ba00e7650147453952.tar.bz2
plus-3aaebb5b7f1faf46d9f437ba00e7650147453952.tar.xz
plus-3aaebb5b7f1faf46d9f437ba00e7650147453952.zip
Remove getter for tradeHandler.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp4
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();