diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-29 23:56:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-29 23:56:26 +0300 |
commit | 598de45a1e77e5f10c69694f607941336163673f (patch) | |
tree | ab0082f18939c41c402e90d99fbaa298aa21a3c9 /src/item.h | |
parent | b0cddefee60e56525fe4da0404f18af71c14acaf (diff) | |
download | mv-598de45a1e77e5f10c69694f607941336163673f.tar.gz mv-598de45a1e77e5f10c69694f607941336163673f.tar.bz2 mv-598de45a1e77e5f10c69694f607941336163673f.tar.xz mv-598de45a1e77e5f10c69694f607941336163673f.zip |
Dont allow add same item twice into npc inventory.
Diffstat (limited to 'src/item.h')
-rw-r--r-- | src/item.h | 2 |
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 */ |