summaryrefslogtreecommitdiff
path: root/src/gui/windows/selldialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/selldialog.cpp')
-rw-r--r--src/gui/windows/selldialog.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}