summaryrefslogtreecommitdiff
path: root/src/net/charserverhandler.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-26 16:36:05 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-26 16:36:05 +0000
commit00d7badb647b4293c444c0374985b7f1ea8a1ed1 (patch)
tree1e8ef25719f0954388a9c50bcf1e360f37540563 /src/net/charserverhandler.cpp
parentef4486580fc7b8293555fcabc398ed0c2b90d78e (diff)
downloadmana-00d7badb647b4293c444c0374985b7f1ea8a1ed1.tar.gz
mana-00d7badb647b4293c444c0374985b7f1ea8a1ed1.tar.bz2
mana-00d7badb647b4293c444c0374985b7f1ea8a1ed1.tar.xz
mana-00d7badb647b4293c444c0374985b7f1ea8a1ed1.zip
Fixed player sprite not showing up.
Diffstat (limited to 'src/net/charserverhandler.cpp')
-rw-r--r--src/net/charserverhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/charserverhandler.cpp b/src/net/charserverhandler.cpp
index 5a2be683..1eea29b8 100644
--- a/src/net/charserverhandler.cpp
+++ b/src/net/charserverhandler.cpp
@@ -198,7 +198,7 @@ CharServerHandler::readPlayerData(MessageIn &msg, int &slot)
LocalPlayer *tempPlayer = new LocalPlayer(mLoginData->account_ID, 0, NULL);
slot = msg.readByte(); // character slot
tempPlayer->mName = msg.readString();
- tempPlayer->mSex = msg.readByte();
+ tempPlayer->setSex(msg.readByte());
tempPlayer->setHairStyle(msg.readByte());
tempPlayer->setHairColor(msg.readByte());
tempPlayer->mLevel = msg.readByte();