summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemcontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-11 12:16:03 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-11 12:16:03 +0300
commit4a337b7a42d0c92bc2ed26b7e206188dc04c569d (patch)
tree97c59c86246afce0710795c6ba545d40004c6810 /src/gui/widgets/itemcontainer.cpp
parent067410031057ffc9bdb36b976bc2a658b23acb1b (diff)
downloadmanaverse-4a337b7a42d0c92bc2ed26b7e206188dc04c569d.tar.gz
manaverse-4a337b7a42d0c92bc2ed26b7e206188dc04c569d.tar.bz2
manaverse-4a337b7a42d0c92bc2ed26b7e206188dc04c569d.tar.xz
manaverse-4a337b7a42d0c92bc2ed26b7e206188dc04c569d.zip
Add typed bool type Equipm.
Diffstat (limited to 'src/gui/widgets/itemcontainer.cpp')
-rw-r--r--src/gui/widgets/itemcontainer.cpp10
1 files changed, 7 insertions, 3 deletions
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;
}