summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryitem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-21 12:30:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-21 12:30:17 +0300
commit40a60a7bb7fd3291fde0a2a689f674a8169c7b64 (patch)
tree9410a23feea6c6248612afdc8968a1c04306e5b0 /src/net/ea/inventoryitem.h
parent76e55447563fae6f8d17f2fd90231c81e0b3f927 (diff)
downloadplus-40a60a7bb7fd3291fde0a2a689f674a8169c7b64.tar.gz
plus-40a60a7bb7fd3291fde0a2a689f674a8169c7b64.tar.bz2
plus-40a60a7bb7fd3291fde0a2a689f674a8169c7b64.tar.xz
plus-40a60a7bb7fd3291fde0a2a689f674a8169c7b64.zip
Add to item field damaged.
Diffstat (limited to 'src/net/ea/inventoryitem.h')
-rw-r--r--src/net/ea/inventoryitem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ea/inventoryitem.h b/src/net/ea/inventoryitem.h
index 20ea399d4..19d9135f9 100644
--- a/src/net/ea/inventoryitem.h
+++ b/src/net/ea/inventoryitem.h
@@ -46,6 +46,7 @@ class InventoryItem final
uint8_t refine;
unsigned char color;
bool identified;
+ bool damaged;
bool equip;
InventoryItem(const int slot0,
@@ -54,6 +55,7 @@ class InventoryItem final
const uint8_t refine0,
const unsigned char color0,
const bool identified0,
+ const bool damaged0,
const bool equip0) :
slot(slot0),
id(id0),
@@ -61,6 +63,7 @@ class InventoryItem final
refine(refine0),
color(color0),
identified(identified0),
+ damaged(damaged0),
equip(equip0)
{
}