diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-30 00:11:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-30 00:11:35 +0300 |
commit | 1b653c7c1a3e6c5d7b2739f881ea6b11ca46cd3b (patch) | |
tree | de98074d774b203053c4215a49764837a3b007ed /src/gui/windows/npcdialog.cpp | |
parent | 598de45a1e77e5f10c69694f607941336163673f (diff) | |
download | manaverse-1b653c7c1a3e6c5d7b2739f881ea6b11ca46cd3b.tar.gz manaverse-1b653c7c1a3e6c5d7b2739f881ea6b11ca46cd3b.tar.bz2 manaverse-1b653c7c1a3e6c5d7b2739f881ea6b11ca46cd3b.tar.xz manaverse-1b653c7c1a3e6c5d7b2739f881ea6b11ca46cd3b.zip |
Allow add item by drag&drop into npc inventory to exact position.
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r-- | src/gui/windows/npcdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp index 5cc538e34..f601c6405 100644 --- a/src/gui/windows/npcdialog.cpp +++ b/src/gui/windows/npcdialog.cpp @@ -542,7 +542,7 @@ void NpcDialog::action(const ActionEvent &event) else if (eventId == "add") { if (inventoryWindow) - mInventory->addVirtualItem(inventoryWindow->getSelectedItem()); + mInventory->addVirtualItem(inventoryWindow->getSelectedItem(), 0); } else if (eventId.find("skin_") == 0) { |