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.cpp | |
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.cpp')
-rw-r--r-- | src/item.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.cpp b/src/item.cpp index 9a534cfad..2f574130c 100644 --- a/src/item.cpp +++ b/src/item.cpp @@ -50,6 +50,7 @@ Item::Item(const int id, mId(0), mColor(ItemColor_zero), mQuantity(quantity), + mTag(0), mImage(nullptr), mDescription(), mTags(), @@ -57,7 +58,6 @@ Item::Item(const int id, mRefine(refine), mInvIndex(0), mType(type), - mTag(0), mEquipment(equipment), mEquipped(equipped), mInEquipment(false), |