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.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/item/shopitem.cpp') diff --git a/src/resources/item/shopitem.cpp b/src/resources/item/shopitem.cpp index f8e837c86..1f70076b9 100644 --- a/src/resources/item/shopitem.cpp +++ b/src/resources/item/shopitem.cpp @@ -34,7 +34,7 @@ ShopItem::ShopItem(const int inventoryIndex, const int id, - const int type, + const ItemTypeT type, const ItemColor color, const int quantity, const int price) : @@ -58,7 +58,7 @@ ShopItem::ShopItem(const int inventoryIndex, } ShopItem::ShopItem(const int id, - const int type, + const ItemTypeT type, const ItemColor color, const int price) : Item(id, type, 0, 0, color, -- cgit v1.2.3-60-g2f50