summaryrefslogtreecommitdiff
path: root/src/game-server/character.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-01-10 16:38:08 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-01-10 16:38:08 +0000
commit36fc47a7dd3f21a7d7608ca3ab476cf2d84d33e0 (patch)
tree0641913bfa7090221435037b042d9e8e489c5e20 /src/game-server/character.cpp
parent9f27f17f66cf8bb1fa2f3716f65b64bf3f13b7a1 (diff)
downloadmanaserv-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.cpp4
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();
}