diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-21 01:13:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-21 01:13:46 +0300 |
commit | 76e55447563fae6f8d17f2fd90231c81e0b3f927 (patch) | |
tree | fa0b2b5daaa50149329f12b7f47b28901d95cc79 /src/item.cpp | |
parent | 8d12abe6ff4114a04b8fc9549e8f44683fed9e3d (diff) | |
download | manaplus-76e55447563fae6f8d17f2fd90231c81e0b3f927.tar.gz manaplus-76e55447563fae6f8d17f2fd90231c81e0b3f927.tar.bz2 manaplus-76e55447563fae6f8d17f2fd90231c81e0b3f927.tar.xz manaplus-76e55447563fae6f8d17f2fd90231c81e0b3f927.zip |
Add to item field identified.
Diffstat (limited to 'src/item.cpp')
-rw-r--r-- | src/item.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
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); } |