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/buydialog.cpp | |
parent | 85c6d5c89ca967020e1a0818c9fa80c065873cc1 (diff) | |
download | manaplus-dc5766216ee50103909d3b5dcdc5747c149855e0.tar.gz manaplus-dc5766216ee50103909d3b5dcdc5747c149855e0.tar.bz2 manaplus-dc5766216ee50103909d3b5dcdc5747c149855e0.tar.xz manaplus-dc5766216ee50103909d3b5dcdc5747c149855e0.zip |
Remove getter for npcHandler.
Diffstat (limited to 'src/gui/windows/buydialog.cpp')
-rw-r--r-- | src/gui/windows/buydialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp index c86ef184a..0bd452c1b 100644 --- a/src/gui/windows/buydialog.cpp +++ b/src/gui/windows/buydialog.cpp @@ -440,7 +440,7 @@ void BuyDialog::action(const ActionEvent &event) else if (mNpcId != -1) { const ShopItem *const item = mShopItems->at(selectedItem); - Net::getNpcHandler()->buyItem(mNpcId, item->getId(), + npcHandler->buyItem(mNpcId, item->getId(), item->getColor(), mAmountItems); // Update money and adjust the max number of items |