summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-03 22:23:30 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-03 22:23:30 +0300
commit2b4fecc8a93722d3cb080edcae436c329641937b (patch)
tree23d2ec5dc93fda645b637de77d42924a87efd33b /src/resources/iteminfo.cpp
parent7758b86aaa0d368ef776ad826903a0b3bcc7102c (diff)
downloadmanaplus-2b4fecc8a93722d3cb080edcae436c329641937b.tar.gz
manaplus-2b4fecc8a93722d3cb080edcae436c329641937b.tar.bz2
manaplus-2b4fecc8a93722d3cb080edcae436c329641937b.tar.xz
manaplus-2b4fecc8a93722d3cb080edcae436c329641937b.zip
Fix code style and remove some unused variabled.
Diffstat (limited to 'src/resources/iteminfo.cpp')
-rw-r--r--src/resources/iteminfo.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/resources/iteminfo.cpp b/src/resources/iteminfo.cpp
index 40bc35f1c..6658236f3 100644
--- a/src/resources/iteminfo.cpp
+++ b/src/resources/iteminfo.cpp
@@ -35,13 +35,20 @@
ItemInfo::ItemInfo(ItemInfo &info)
{
+ mMissileParticleFile = info.mMissileParticleFile;
+ mDisplay = info.mDisplay;
+ mName = info.mName;
+ mDescription = info.mDescription;
+ mEffect = info.mEffect;
mType = info.mType;
+ mParticle = info.mParticle;
mWeight = info.mWeight;
mView = info.mView;
mId = info.mId;
mIsRemoveSprites = info.mIsRemoveSprites;
mAttackAction = info.mAttackAction;
mAttackRange = info.mAttackRange;
+ mMissileParticle = info.mMissileParticle;
mColors = info.mColors;
mColorList = info.mColorList;
mHitEffectId = info.mHitEffectId;
@@ -56,13 +63,19 @@ ItemInfo::ItemInfo(ItemInfo &info)
}
ItemInfo::ItemInfo() :
+ mMissileParticleFile(""),
+ mName(""),
+ mDescription(""),
+ mEffect(""),
mType(ITEM_UNUSABLE),
+ mParticle(""),
mWeight(0),
mView(0),
mId(0),
mIsRemoveSprites(false),
mAttackAction(SpriteAction::INVALID),
mAttackRange(0),
+ mMissileParticle(""),
mColors(0),
mColorList(""),
mHitEffectId(0),