summaryrefslogtreecommitdiff
path: root/src/game-server/character.cpp
diff options
context:
space:
mode:
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();
}