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/selldialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/windows/selldialog.cpp') diff --git a/src/gui/windows/selldialog.cpp b/src/gui/windows/selldialog.cpp index b62b22976..fc9ec4b66 100644 --- a/src/gui/windows/selldialog.cpp +++ b/src/gui/windows/selldialog.cpp @@ -276,7 +276,7 @@ void SellDialog::action(const ActionEvent &event) // return the inventory index of the next Duplicate otherwise. const int itemIndex = item->getCurrentInvIndex(); const int sellCount = item->sellCurrentDuplicate(mAmountItems); - Net::getNpcHandler()->sellItem(mNpcId, itemIndex, sellCount); + npcHandler->sellItem(mNpcId, itemIndex, sellCount); mAmountItems -= sellCount; } -- cgit v1.2.3-70-g09d2