diff options
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 423e340c4..89de39145 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -918,22 +918,22 @@ void PopupMenu::handleLink(const std::string &link, if (being->getType() == ActorType::Npc) Net::getNpcHandler()->buy(mBeingId); else if (being->getType() == ActorType::Player) - Net::getBuySellHandler()->requestSellList(being->getName()); + buySellHandler->requestSellList(being->getName()); } else if (link == "buy" && !mNick.empty()) { - Net::getBuySellHandler()->requestSellList(mNick); + buySellHandler->requestSellList(mNick); } else if (link == "sell" && being && mBeingId != 0) { if (being->getType() == ActorType::Npc) Net::getNpcHandler()->sell(mBeingId); else if (being->getType() == ActorType::Player) - Net::getBuySellHandler()->requestBuyList(being->getName()); + buySellHandler->requestBuyList(being->getName()); } else if (link == "sell" && !mNick.empty()) { - Net::getBuySellHandler()->requestBuyList(mNick); + buySellHandler->requestBuyList(mNick); } else if (link == "attack" && being) { |