From 9be90b76adb1518c4ffe0e365a18c5afcc3158f2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 23 Dec 2014 01:27:45 +0300 Subject: Add item type to item object. --- src/inventory.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/inventory.h') diff --git a/src/inventory.h b/src/inventory.h index cddc00709..8ce5cf2cc 100644 --- a/src/inventory.h +++ b/src/inventory.h @@ -88,6 +88,7 @@ class Inventory final * Adds a new item in a free slot. */ int addItem(const int id, + const int type, const int quantity, const uint8_t refine, const unsigned char color, @@ -102,6 +103,7 @@ class Inventory final */ void setItem(const int index, const int id, + const int type, const int quantity, const uint8_t refine, const unsigned char color, -- cgit v1.2.3-60-g2f50