From 598de45a1e77e5f10c69694f607941336163673f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 29 Oct 2015 23:56:26 +0300 Subject: Dont allow add same item twice into npc inventory. --- src/item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/item.cpp') 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), -- cgit v1.2.3-70-g09d2