diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-07-28 19:25:01 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-07-28 19:25:01 +0200 |
commit | 44d8856c777790449df46e3b5348a6a7433a75d8 (patch) | |
tree | 45a8587edc9f03151da04d034d1f6fbf202a5381 /src/resources/iteminfo.h | |
parent | 07abd88c7e3d606aaa0c8c7387c398d93daae445 (diff) | |
download | mana-client-44d8856c777790449df46e3b5348a6a7433a75d8.tar.gz mana-client-44d8856c777790449df46e3b5348a6a7433a75d8.tar.bz2 mana-client-44d8856c777790449df46e3b5348a6a7433a75d8.tar.xz mana-client-44d8856c777790449df46e3b5348a6a7433a75d8.zip |
Changed mAttackType to mWeaponAttackType were appropriate.
To avoid misunderstanding between the actual attackType
and this one.
(Trivial fix.)
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r-- | src/resources/iteminfo.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h index d9fc05cc..1f27ae66 100644 --- a/src/resources/iteminfo.h +++ b/src/resources/iteminfo.h @@ -122,7 +122,7 @@ class ItemInfo mWeight(0), mView(0), mId(0), - mAttackType(ACTION_DEFAULT) + mWeaponAttackType(ACTION_DEFAULT) { } @@ -187,8 +187,8 @@ class ItemInfo std::string getMissileParticle() const { return mMissileParticle; } - SpriteAction getAttackType() const - { return mAttackType; } + SpriteAction getWeaponAttackType() const + { return mWeaponAttackType; } int getAttackRange() const { return mAttackRange; } @@ -212,8 +212,8 @@ class ItemInfo int mId; /**< Item ID */ // Equipment related members - SpriteAction mAttackType; /**< Attack type, in case of weapon. */ - int mAttackRange; /**< Attack range, will be zero if non weapon. */ + SpriteAction mWeaponAttackType; /**< Attack type, in case of weapon. */ + int mAttackRange; /**< Attack range, will be zero if non weapon. */ // Particle to be shown when weapon attacks std::string mMissileParticle; |