From 1b653c7c1a3e6c5d7b2739f881ea6b11ca46cd3b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 30 Oct 2015 00:11:35 +0300 Subject: Allow add item by drag&drop into npc inventory to exact position. --- src/gui/windows/npcdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/windows') 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) { -- cgit v1.2.3-60-g2f50