From 41cc92f73e39cec5dfea6b1164176610cccc7df4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 15 Aug 2015 13:58:32 +0300 Subject: Add strong typed int for item color. --- src/shopitem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shopitem.cpp') diff --git a/src/shopitem.cpp b/src/shopitem.cpp index 3fa7c6480..faf635fbd 100644 --- a/src/shopitem.cpp +++ b/src/shopitem.cpp @@ -35,7 +35,7 @@ ShopItem::ShopItem(const int inventoryIndex, const int id, const int type, - const unsigned char color, + const ItemColor color, const int quantity, const int price) : Item(id, type, 0, 0, color, @@ -57,7 +57,7 @@ ShopItem::ShopItem(const int inventoryIndex, ShopItem::ShopItem(const int id, const int type, - const unsigned char color, + const ItemColor color, const int price) : Item(id, type, 0, 0, color, Identified_true, -- cgit v1.2.3-70-g09d2