diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-20 16:40:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-20 16:40:24 +0300 |
commit | 1e9b7c519953c73c6e5ca4ce2169eb674267c115 (patch) | |
tree | 5e331bef424935c0f6d2a2291eb189cd50f68a3d /src/item.cpp | |
parent | c63923c39572655f3d8e826b0fb2fd3ed253ae7f (diff) | |
download | mv-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.gz mv-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.bz2 mv-1e9b7c519953c73c6e5ca4ce2169eb674267c115.tar.xz mv-1e9b7c519953c73c6e5ca4ce2169eb674267c115.zip |
fix style in other files.
Diffstat (limited to 'src/item.cpp')
-rw-r--r-- | src/item.cpp | 6 |
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); } |