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/item.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/item.cpp') 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); } -- cgit v1.2.3-60-g2f50