summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-18 22:01:43 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-18 22:01:43 +0000
commita971d34980ecbeefd7db08dd7f8049795bf9f56b (patch)
treed096fa01a38f31374256d14e06ff4a46676fa86c /src/localplayer.cpp
parent1a68e441ec6d7d529b5c64bfafac56ae45d3f2fb (diff)
downloadmana-a971d34980ecbeefd7db08dd7f8049795bf9f56b.tar.gz
mana-a971d34980ecbeefd7db08dd7f8049795bf9f56b.tar.bz2
mana-a971d34980ecbeefd7db08dd7f8049795bf9f56b.tar.xz
mana-a971d34980ecbeefd7db08dd7f8049795bf9f56b.zip
Adapted to new server handling of character attributes.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 035c31f6..95e7a478 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -40,8 +40,8 @@ LocalPlayer::LocalPlayer():
Player(65535, 0, NULL),
mAttackRange(0),
mInventory(new Inventory()),
- mAttributeBase(NB_BASE_ATTRIBUTES, 0),
- mAttributeEffective(NB_BASE_ATTRIBUTES, 0),
+ mAttributeBase(NB_CHARACTER_ATTRIBUTES, 0),
+ mAttributeEffective(NB_CHARACTER_ATTRIBUTES, 0),
mAttributeIncreasePoints(0),
mLevel(1), mMoney(0),
mTotalWeight(1), mMaxWeight(1),