diff options
Diffstat (limited to 'src/inventory.h')
-rw-r--r-- | src/inventory.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/inventory.h b/src/inventory.h index 588842d70..5fe92a84f 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -31,6 +31,7 @@ #include "enums/simpletypes/equipped.h" #include "enums/simpletypes/favorite.h" #include "enums/simpletypes/identified.h" +#include "enums/simpletypes/itemcolor.h" #include "enums/being/gender.h" @@ -81,7 +82,7 @@ class Inventory final * @return Item found on success, NULL on failure. */ Item *findItem(const int itemId, - const unsigned char color) const A_WARN_UNUSED; + const ItemColor color) const A_WARN_UNUSED; /** * Adds a new item in a free slot. @@ -90,7 +91,7 @@ class Inventory final const int type, const int quantity, const uint8_t refine, - const unsigned char color, + const ItemColor color, const Identified identified, const Damaged damaged, const Favorite favorite, @@ -105,7 +106,7 @@ class Inventory final const int type, const int quantity, const uint8_t refine, - const unsigned char color, + const ItemColor color, const Identified identified, const Damaged damaged, const Favorite favorite, |