diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-10 13:44:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-10 22:49:59 +0300 |
commit | f3f7879c48fe8e202c3519cd465225645949167e (patch) | |
tree | 898a86c3446d988e86d7c3f160036533bdfd6475 /src/inventory.cpp | |
parent | 37d7bd3163ad58391df36363b6f0135c638fbeb8 (diff) | |
download | manaverse-f3f7879c48fe8e202c3519cd465225645949167e.tar.gz manaverse-f3f7879c48fe8e202c3519cd465225645949167e.tar.bz2 manaverse-f3f7879c48fe8e202c3519cd465225645949167e.tar.xz manaverse-f3f7879c48fe8e202c3519cd465225645949167e.zip |
Add typed bool type Identified.
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r-- | src/inventory.cpp | 6 |
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, |