From dc5766216ee50103909d3b5dcdc5747c149855e0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 Sep 2014 11:14:13 +0300 Subject: Remove getter for npcHandler. --- src/gui/windows/buyselldialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/buyselldialog.cpp') diff --git a/src/gui/windows/buyselldialog.cpp b/src/gui/windows/buyselldialog.cpp index f8d2ec954..701eb96bc 100644 --- a/src/gui/windows/buyselldialog.cpp +++ b/src/gui/windows/buyselldialog.cpp @@ -130,14 +130,14 @@ void BuySellDialog::action(const ActionEvent &event) if (eventId == "Buy") { if (mNpcId != -1) - Net::getNpcHandler()->buy(mNpcId); + npcHandler->buy(mNpcId); else buySellHandler->requestSellList(mNick); } else if (eventId == "Sell") { if (mNpcId != -1) - Net::getNpcHandler()->sell(mNpcId); + npcHandler->sell(mNpcId); else buySellHandler->requestBuyList(mNick); } -- cgit v1.2.3-70-g09d2