summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-04 18:29:58 -0700
committerIra Rice <irarice@gmail.com>2009-02-04 18:29:58 -0700
commit3818b6db81341b840201996c186bdc8ad5e456e9 (patch)
treebb8d8418aee35877d260078b1b340ccf2c371930 /src/localplayer.cpp
parentd05b238a3c100ed0b5b31093f3d15bb039dde8d6 (diff)
downloadmana-3818b6db81341b840201996c186bdc8ad5e456e9.tar.gz
mana-3818b6db81341b840201996c186bdc8ad5e456e9.tar.bz2
mana-3818b6db81341b840201996c186bdc8ad5e456e9.tar.xz
mana-3818b6db81341b840201996c186bdc8ad5e456e9.zip
Moved mEquipment to the LocalPlayer class, since it's the only place
that uses it anyways. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index c6fde7a8..bc0b2b81 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -63,6 +63,7 @@ LocalPlayer::LocalPlayer(Uint32 id, Uint16 job, Map *map):
ATK_BONUS(0), MATK_BONUS(0), DEF_BONUS(0), MDEF_BONUS(0), FLEE_BONUS(0),
mStatPoint(0), mSkillPoint(0),
mStatsPointsToAttribute(0),
+ mEquipment(new Equipment()),
mXp(0), mNetwork(0),
mTarget(NULL), mPickUpTarget(NULL),
mTrading(false), mGoingToTarget(false),