diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2008-01-10 16:38:08 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2008-01-10 16:38:08 +0000 |
commit | 36fc47a7dd3f21a7d7608ca3ab476cf2d84d33e0 (patch) | |
tree | 0641913bfa7090221435037b042d9e8e489c5e20 /src/game-server/character.cpp | |
parent | 9f27f17f66cf8bb1fa2f3716f65b64bf3f13b7a1 (diff) | |
download | manaserv-36fc47a7dd3f21a7d7608ca3ab476cf2d84d33e0.tar.gz manaserv-36fc47a7dd3f21a7d7608ca3ab476cf2d84d33e0.tar.bz2 manaserv-36fc47a7dd3f21a7d7608ca3ab476cf2d84d33e0.tar.xz manaserv-36fc47a7dd3f21a7d7608ca3ab476cf2d84d33e0.zip |
Fixed account server compiling.
Diffstat (limited to 'src/game-server/character.cpp')
-rw-r--r-- | src/game-server/character.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game-server/character.cpp b/src/game-server/character.cpp index 694b4adf..c87f310f 100644 --- a/src/game-server/character.cpp +++ b/src/game-server/character.cpp @@ -51,6 +51,10 @@ Character::Character(MessageIn &msg): mDatabaseID = msg.readLong(); mName = msg.readString(); deserializeCharacterData(*this, msg); + for (int i = CHAR_ATTR_BEGIN; i < CHAR_ATTR_END; ++i) + { + modifiedAttribute(i); + } setSize(16); Inventory(this).initialize(); } |