summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-10 13:44:10 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-10 22:49:59 +0300
commitf3f7879c48fe8e202c3519cd465225645949167e (patch)
tree898a86c3446d988e86d7c3f160036533bdfd6475 /src/inventory.cpp
parent37d7bd3163ad58391df36363b6f0135c638fbeb8 (diff)
downloadplus-f3f7879c48fe8e202c3519cd465225645949167e.tar.gz
plus-f3f7879c48fe8e202c3519cd465225645949167e.tar.bz2
plus-f3f7879c48fe8e202c3519cd465225645949167e.tar.xz
plus-f3f7879c48fe8e202c3519cd465225645949167e.zip
Add typed bool type Identified.
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index 13b691851..223b8d18f 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -25,6 +25,8 @@
#include "item.h"
#include "logger.h"
+#include "enums/simpletypes.h"
+
#include "net/inventoryhandler.h"
#include "resources/iteminfo.h"
@@ -108,7 +110,7 @@ int Inventory::addItem(const int id,
const int quantity,
const uint8_t refine,
const uint8_t color,
- const bool identified,
+ const Identified identified,
const bool damaged,
const bool favorite,
const bool equipment,
@@ -126,7 +128,7 @@ void Inventory::setItem(const int index,
const int quantity,
const uint8_t refine,
const unsigned char color,
- const bool identified,
+ const Identified identified,
const bool damaged,
const bool favorite,
const bool equipment,