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/item.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/item.cpp') diff --git a/src/item.cpp b/src/item.cpp index 58148d2b1..34f72211f 100644 --- a/src/item.cpp +++ b/src/item.cpp @@ -38,6 +38,7 @@ DragDrop dragDrop(nullptr, DRAGDROP_SOURCE_EMPTY); Item::Item(const int id, + const int type, const int quantity, const uint8_t refine, const unsigned char color, @@ -55,6 +56,7 @@ Item::Item(const int id, mCards(), mRefine(refine), mInvIndex(0), + mType(type), mEquipment(equipment), mEquipped(equipped), mInEquipment(false), -- cgit v1.2.3-70-g09d2