From 1e9b7c519953c73c6e5ca4ce2169eb674267c115 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Apr 2013 16:40:24 +0300 Subject: fix style in other files. --- src/item.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/item.cpp') 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); } -- cgit v1.2.3-60-g2f50