From f3f7879c48fe8e202c3519cd465225645949167e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 10 Feb 2015 13:44:10 +0300 Subject: Add typed bool type Identified. --- src/net/ea/inventoryitem.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/net/ea') diff --git a/src/net/ea/inventoryitem.h b/src/net/ea/inventoryitem.h index 6d059d081..5c0b86658 100644 --- a/src/net/ea/inventoryitem.h +++ b/src/net/ea/inventoryitem.h @@ -23,6 +23,8 @@ #ifndef NET_EA_INVENTORYITEM_H #define NET_EA_INVENTORYITEM_H +#include "enums/simpletypes.h" + #if defined(__GXX_EXPERIMENTAL_CXX0X__) #include #else @@ -47,7 +49,7 @@ class InventoryItem final int quantity; uint8_t refine; unsigned char color; - bool identified; + Identified identified; bool damaged; bool favorite; bool equip; @@ -59,7 +61,7 @@ class InventoryItem final const int quantity0, const uint8_t refine0, const unsigned char color0, - const bool identified0, + const Identified identified0, const bool damaged0, const bool favorite0, const bool equip0) : -- cgit v1.2.3-70-g09d2