From 76e55447563fae6f8d17f2fd90231c81e0b3f927 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 21 Oct 2014 01:13:46 +0300 Subject: Add to item field identified. --- src/item.cpp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'src/item.cpp') diff --git a/src/item.cpp b/src/item.cpp index 8b9253822..da4483874 100644 --- a/src/item.cpp +++ b/src/item.cpp @@ -37,8 +37,12 @@ DragDrop dragDrop(nullptr, DRAGDROP_SOURCE_EMPTY); -Item::Item(const int id, const int quantity, const uint8_t refine, - const unsigned char color, const bool equipment, +Item::Item(const int id, + const int quantity, + const uint8_t refine, + const unsigned char color, + const bool identified, + const bool equipment, const bool equipped) : mId(0), mColor(0), @@ -50,7 +54,10 @@ Item::Item(const int id, const int quantity, const uint8_t refine, mInvIndex(0), mEquipment(equipment), mEquipped(equipped), - mInEquipment(false) + mInEquipment(false), + mIdentified(identified), + mDamaged(false), + mFavorite(false) { setId(id, color); } -- cgit v1.2.3-70-g09d2