From a9877525597aa94f1d974b8f45567b4168cf6c8e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 20 Oct 2014 18:43:00 +0300 Subject: Remove item default parameters. --- src/gui/widgets/itemcontainer.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets') diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index 0ea19ea59..784fc56db 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -551,7 +551,10 @@ void ItemContainer::mouseReleased(MouseEvent &event) inventory = PlayerInfo::getInventory(); const Item *const item = inventory->getItem(dragDrop.getTag()); if (item && !PlayerInfo::isItemProtected(item->getId())) - mInventory->addItem(item->getId(), 1, 1, item->getColor()); + { + mInventory->addItem(item->getId(), 1, 1, item->getColor(), + false, false); + } return; } else if (src == DRAGDROP_SOURCE_NPC) -- cgit v1.2.3-70-g09d2