From 15a79eee1b3baa91953daf33dc021a1e7c147365 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 14 Jul 2014 23:43:54 +0300 Subject: Change refine type to uint8_t. --- src/inventory.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/inventory.h') diff --git a/src/inventory.h b/src/inventory.h index 86bdb080a..793c21286 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -87,14 +87,14 @@ class Inventory final /** * Adds a new item in a free slot. */ - void addItem(const int id, const int quantity, const int refine, + void addItem(const int id, const int quantity, const uint8_t refine, const unsigned char color, const bool equipment = false); /** * Sets the item at the given position. */ void setItem(const int index, const int id, const int quantity, - const int refine, const unsigned char color, + const uint8_t refine, const unsigned char color, const bool equipment = false); /** -- cgit v1.2.3-60-g2f50