From 4e97da8e138b21a5f5bea75e6a8d3211e4f28594 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Mar 2016 23:29:04 +0300 Subject: Add enum for item types. --- src/resources/item/shopitem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/item/shopitem.h') diff --git a/src/resources/item/shopitem.h b/src/resources/item/shopitem.h index 6c4d3f886..bf966aeb7 100644 --- a/src/resources/item/shopitem.h +++ b/src/resources/item/shopitem.h @@ -46,7 +46,7 @@ class ShopItem final : public Item */ ShopItem(const int inventoryIndex, const int id, - const int type, + const ItemTypeT type, const ItemColor color, const int quantity, const int price); @@ -59,7 +59,7 @@ class ShopItem final : public Item * @param price price of the item */ ShopItem(const int id, - const int type, + const ItemTypeT type, const ItemColor color, const int price); -- cgit v1.2.3-70-g09d2