diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-06-21 17:06:57 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-06-21 17:06:57 +0000 |
commit | e87c165b31b3bdb784f23fd7d1e6a795859aa24c (patch) | |
tree | 913263b303ff1019d8be92ade326a028c012db16 /src/net/charserverhandler.cpp | |
parent | 46cf032fc0eea43743b86d9e05950dd7a65728b7 (diff) | |
download | mana-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.tar.gz mana-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.tar.bz2 mana-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.tar.xz mana-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.zip |
Added female players.
Diffstat (limited to 'src/net/charserverhandler.cpp')
-rw-r--r-- | src/net/charserverhandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/charserverhandler.cpp b/src/net/charserverhandler.cpp index 55bfa0c6..12813795 100644 --- a/src/net/charserverhandler.cpp +++ b/src/net/charserverhandler.cpp @@ -163,6 +163,7 @@ void CharServerHandler::handleMessage(MessageIn *msg) LocalPlayer* CharServerHandler::readPlayerData(MessageIn *msg, int &slot) { LocalPlayer *tempPlayer = new LocalPlayer(mLoginData->account_ID, 0, NULL); + tempPlayer->setSex(1 - mLoginData->sex); tempPlayer->mCharId = msg->readInt32(); tempPlayer->mTotalWeight = 0; |