summaryrefslogtreecommitdiff
path: root/src/account-server/character.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/account-server/character.cpp')
-rw-r--r--src/account-server/character.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/account-server/character.cpp b/src/account-server/character.cpp
index e9a40987..5c55b044 100644
--- a/src/account-server/character.cpp
+++ b/src/account-server/character.cpp
@@ -26,12 +26,17 @@
Character::Character(std::string const &name, int id):
mName(name), mDatabaseID(id), mAccountID(-1), mAccount(NULL), mPos(0,0), mMapId(0),
- mGender(0), mHairStyle(0), mHairColor(0), mLevel(0), mAccountLevel(0)
+ mGender(0), mHairStyle(0), mHairColor(0), mLevel(0), mCharacterPoints(0),
+ mCorrectionPoints(0), mAccountLevel(0)
{
for (int i = 0; i < CHAR_ATTR_NB; ++i)
{
mAttributes[i] = 0;
}
+ for (int i = 0; i < CHAR_SKILL_NB; ++i)
+ {
+ mExperience[i] = 0;
+ }
}
void Character::setAccount(Account *acc)