From 0875a6ddfda9ece1af4a818e38be1f99e578c59a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 21 Oct 2014 14:40:14 +0300 Subject: Add to item field favorite. --- src/gui/widgets/itemcontainer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets') diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index 87c599fb6..732e9e738 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -553,7 +553,9 @@ void ItemContainer::mouseReleased(MouseEvent &event) if (item && !PlayerInfo::isItemProtected(item->getId())) { mInventory->addItem(item->getId(), 1, 1, item->getColor(), - item->getIdentified(), item->getDamaged(), false, false); + item->getIdentified(), item->getDamaged(), + item->getFavorite(), + false, false); } return; } -- cgit v1.2.3-60-g2f50