From 4a337b7a42d0c92bc2ed26b7e206188dc04c569d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Feb 2015 12:16:03 +0300 Subject: Add typed bool type Equipm. --- src/gui/widgets/itemcontainer.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/itemcontainer.cpp') diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index c557b960d..dfb5a94cf 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -593,10 +593,14 @@ void ItemContainer::mouseReleased(MouseEvent &event) if (item && !PlayerInfo::isItemProtected(item->getId())) { mInventory->addItem(item->getId(), item->getType(), - 1, 1, item->getColor(), - item->getIdentified(), item->getDamaged(), + 1, + 1, + item->getColor(), + item->getIdentified(), + item->getDamaged(), item->getFavorite(), - false, false); + Equipm_false, + false); } return; } -- cgit v1.2.3-60-g2f50