summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-29 23:56:26 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-29 23:56:26 +0300
commit598de45a1e77e5f10c69694f607941336163673f (patch)
treeab0082f18939c41c402e90d99fbaa298aa21a3c9 /src/item.h
parentb0cddefee60e56525fe4da0404f18af71c14acaf (diff)
downloadmanaplus-598de45a1e77e5f10c69694f607941336163673f.tar.gz
manaplus-598de45a1e77e5f10c69694f607941336163673f.tar.bz2
manaplus-598de45a1e77e5f10c69694f607941336163673f.tar.xz
manaplus-598de45a1e77e5f10c69694f607941336163673f.zip
Dont allow add same item twice into npc inventory.
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.h b/src/item.h
index 9f0772286..50f6d3fbd 100644
--- a/src/item.h
+++ b/src/item.h
@@ -228,6 +228,7 @@ class Item notfinal
int mId; /**< Item type id. */
ItemColor mColor;
int mQuantity; /**< Number of items. */
+ int mTag;
protected:
Image *mImage; /**< Item image. */
@@ -237,7 +238,6 @@ class Item notfinal
uint8_t mRefine; /**< Item refine level. */
int mInvIndex; /**< Inventory index. */
int mType; /**< Item type. */
- int mTag;
Equipm mEquipment; /**< Item is equipment. */
Equipped mEquipped; /**< Item is equipped. */
bool mInEquipment; /**< Item is in equipment */