summaryrefslogtreecommitdiff
path: root/src/item.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-21 14:40:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-21 14:40:14 +0300
commit0875a6ddfda9ece1af4a818e38be1f99e578c59a (patch)
tree7bef19d2a2f41f090be11dfe5a8af88716e7b21c /src/item.cpp
parent40a60a7bb7fd3291fde0a2a689f674a8169c7b64 (diff)
downloadplus-0875a6ddfda9ece1af4a818e38be1f99e578c59a.tar.gz
plus-0875a6ddfda9ece1af4a818e38be1f99e578c59a.tar.bz2
plus-0875a6ddfda9ece1af4a818e38be1f99e578c59a.tar.xz
plus-0875a6ddfda9ece1af4a818e38be1f99e578c59a.zip
Add to item field favorite.
Diffstat (limited to 'src/item.cpp')
-rw-r--r--src/item.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/item.cpp b/src/item.cpp
index 2d4183a8b..1dcd2bbcc 100644
--- a/src/item.cpp
+++ b/src/item.cpp
@@ -43,6 +43,7 @@ Item::Item(const int id,
const unsigned char color,
const bool identified,
const bool damaged,
+ const bool favorite,
const bool equipment,
const bool equipped) :
mId(0),
@@ -58,7 +59,7 @@ Item::Item(const int id,
mInEquipment(false),
mIdentified(identified),
mDamaged(damaged),
- mFavorite(false)
+ mFavorite(favorite)
{
setId(id, color);
}