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/gui/models/shopitems.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/models/shopitems.cpp') diff --git a/src/gui/models/shopitems.cpp b/src/gui/models/shopitems.cpp index 2a2b75ae8..c25664cdd 100644 --- a/src/gui/models/shopitems.cpp +++ b/src/gui/models/shopitems.cpp @@ -52,7 +52,7 @@ std::string ShopItems::getElementAt(int i) } ShopItem *ShopItems::addItem(const int id, - const int type, + const ItemTypeT type, const ItemColor color, const int amount, const int price) @@ -64,7 +64,7 @@ ShopItem *ShopItems::addItem(const int id, } ShopItem *ShopItems::addItemNoDup(const int id, - const int type, + const ItemTypeT type, const ItemColor color, const int amount, const int price) @@ -81,7 +81,7 @@ ShopItem *ShopItems::addItemNoDup(const int id, ShopItem *ShopItems::addItem2(const int inventoryIndex, const int id, - const int type, + const ItemTypeT type, const ItemColor color, const int quantity, const int price) -- cgit v1.2.3-60-g2f50