summaryrefslogtreecommitdiff
path: root/src/net/ea/charserverhandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-07-15 14:43:16 -0600
committerJared Adams <jaxad0127@gmail.com>2009-07-15 14:47:24 -0600
commit18aaa873abcaa617bbd296f73138d062423662b8 (patch)
treecfdcf6d3a5750549c01df38cda27f0ea14b47279 /src/net/ea/charserverhandler.cpp
parentfa6d39d9f56e09abfb6b48bacdd66ddbad20c641 (diff)
downloadmana-18aaa873abcaa617bbd296f73138d062423662b8.tar.gz
mana-18aaa873abcaa617bbd296f73138d062423662b8.tar.bz2
mana-18aaa873abcaa617bbd296f73138d062423662b8.tar.xz
mana-18aaa873abcaa617bbd296f73138d062423662b8.zip
Merge and cleanup attribute code
Diffstat (limited to 'src/net/ea/charserverhandler.cpp')
-rw-r--r--src/net/ea/charserverhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp
index 4ffea0c9..a09f11f9 100644
--- a/src/net/ea/charserverhandler.cpp
+++ b/src/net/ea/charserverhandler.cpp
@@ -205,7 +205,7 @@ LocalPlayer *CharServerHandler::readPlayerData(MessageIn &msg, int &slot)
tempPlayer->setSprite(Being::MISC2_SPRITE, msg.readInt16());
tempPlayer->setName(msg.readString(24));
for (int i = 0; i < 6; i++) {
- tempPlayer->mAttr[i] = msg.readInt8();
+ tempPlayer->setAttributeBase(i + STR, msg.readInt8());
}
slot = msg.readInt8(); // character slot
msg.readInt8(); // unknown