diff options
Diffstat (limited to 'src/inventory.h')
-rw-r--r-- | src/inventory.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/inventory.h b/src/inventory.h index 311e6c5f0..9ebb3de12 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -57,7 +57,7 @@ class Inventory final * * @param size the number of items that fit in the inventory */ - explicit Inventory(const InventoryType::Type type, + explicit Inventory(const InventoryTypeT type, const int size = -1); /** @@ -159,11 +159,11 @@ class Inventory final void removeInventoyListener(InventoryListener *const listener); - InventoryType::Type getType() const A_WARN_UNUSED + InventoryTypeT getType() const A_WARN_UNUSED { return mType; } bool isMainInventory() const A_WARN_UNUSED - { return mType == InventoryType::INVENTORY; } + { return mType == InventoryType::Inventory; } const Item *findItemBySprite(std::string spritePath, const GenderT gender, @@ -194,7 +194,7 @@ class Inventory final void distributeSlotsChangedEvent(); IntMap mVirtualRemove; - InventoryType::Type mType; + InventoryTypeT mType; unsigned mSize; /**< The max number of inventory items */ Item **mItems; /**< The holder of items */ int mUsed; /**< THe number of slots in use */ |