summaryrefslogtreecommitdiff
path: root/src/item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.cpp')
-rw-r--r--src/item.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/item.cpp b/src/item.cpp
index aa58b4167..d6c804314 100644
--- a/src/item.cpp
+++ b/src/item.cpp
@@ -36,6 +36,8 @@ extern int serverVersion;
Item::Item(const int id, const int quantity, const int refine,
const unsigned char color, const bool equipment,
const bool equipped):
+ mId(0),
+ mColor(0),
mQuantity(quantity),
mImage(nullptr),
mDrawImage(nullptr),
@@ -43,7 +45,9 @@ Item::Item(const int id, const int quantity, const int refine,
mEquipped(equipped),
mInEquipment(false),
mRefine(refine),
- mInvIndex(0)
+ mInvIndex(0),
+ mDescription(),
+ mTags()
{
setId(id, color);
}