From 40a60a7bb7fd3291fde0a2a689f674a8169c7b64 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 21 Oct 2014 12:30:17 +0300 Subject: Add to item field damaged. --- 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 da4483874..2d4183a8b 100644 --- a/src/item.cpp +++ b/src/item.cpp @@ -42,6 +42,7 @@ Item::Item(const int id, const uint8_t refine, const unsigned char color, const bool identified, + const bool damaged, const bool equipment, const bool equipped) : mId(0), @@ -56,7 +57,7 @@ Item::Item(const int id, mEquipped(equipped), mInEquipment(false), mIdentified(identified), - mDamaged(false), + mDamaged(damaged), mFavorite(false) { setId(id, color); -- cgit v1.2.3-60-g2f50