diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:14:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 11:14:13 +0300 |
commit | dc5766216ee50103909d3b5dcdc5747c149855e0 (patch) | |
tree | db7960089152805498449c0f1b2a392d36543607 /src/gui/windows/selldialog.cpp | |
parent | 85c6d5c89ca967020e1a0818c9fa80c065873cc1 (diff) | |
download | mv-dc5766216ee50103909d3b5dcdc5747c149855e0.tar.gz mv-dc5766216ee50103909d3b5dcdc5747c149855e0.tar.bz2 mv-dc5766216ee50103909d3b5dcdc5747c149855e0.tar.xz mv-dc5766216ee50103909d3b5dcdc5747c149855e0.zip |
Remove getter for npcHandler.
Diffstat (limited to 'src/gui/windows/selldialog.cpp')
-rw-r--r-- | src/gui/windows/selldialog.cpp | 2 |
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; } |