summaryrefslogtreecommitdiff
path: root/src/item.cpp
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.cpp
parentb0cddefee60e56525fe4da0404f18af71c14acaf (diff)
downloadplus-598de45a1e77e5f10c69694f607941336163673f.tar.gz
plus-598de45a1e77e5f10c69694f607941336163673f.tar.bz2
plus-598de45a1e77e5f10c69694f607941336163673f.tar.xz
plus-598de45a1e77e5f10c69694f607941336163673f.zip
Dont allow add same item twice into npc inventory.
Diffstat (limited to 'src/item.cpp')
-rw-r--r--src/item.cpp2
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),