diff options
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index f4ad7587..346597a8 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -47,7 +47,8 @@ LocalPlayer *player_node = NULL; LocalPlayer::LocalPlayer(): Player(65535, 0, NULL), mAttackRange(0), - mInventory(new Inventory()), + mInventory(new Inventory), + mEquipment(new Equipment), mAttributeBase(NB_CHARACTER_ATTRIBUTES, 0), mAttributeEffective(NB_CHARACTER_ATTRIBUTES, 0), mAttributeIncreasePoints(0), @@ -94,11 +95,6 @@ void LocalPlayer::nextStep() Player::nextStep(); } -Being::Type LocalPlayer::getType() const -{ - return LOCALPLAYER; -} - void LocalPlayer::clearInventory() { mEquipment->clear(); |