diff options
author | Lloyd Bryant <lloyd_bryant@netzero.net> | 2008-07-24 03:39:32 +0000 |
---|---|---|
committer | Lloyd Bryant <lloyd_bryant@netzero.net> | 2008-07-24 03:39:32 +0000 |
commit | cd0659cb30e2f242f42c7f464c8051bdaa566b9b (patch) | |
tree | 97b6c0559ea44925c860581a67fb9ffa62fcdce9 /src | |
parent | 8726fbf5c15602b39ec31810c3dbff02826116b9 (diff) | |
download | mana-client-cd0659cb30e2f242f42c7f464c8051bdaa566b9b.tar.gz mana-client-cd0659cb30e2f242f42c7f464c8051bdaa566b9b.tar.bz2 mana-client-cd0659cb30e2f242f42c7f464c8051bdaa566b9b.tar.xz mana-client-cd0659cb30e2f242f42c7f464c8051bdaa566b9b.zip |
Added cape/misc1/misc2 code into character selection display
Diffstat (limited to 'src')
-rw-r--r-- | src/net/charserverhandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/charserverhandler.cpp b/src/net/charserverhandler.cpp index b421bc2b..d3ad0d92 100644 --- a/src/net/charserverhandler.cpp +++ b/src/net/charserverhandler.cpp @@ -193,8 +193,8 @@ LocalPlayer* CharServerHandler::readPlayerData(MessageIn &msg, int &slot) tempPlayer->mJobLevel = msg.readInt32(); tempPlayer->setSprite(Being::SHOE_SPRITE, msg.readInt16()); tempPlayer->setSprite(Being::GLOVES_SPRITE, msg.readInt16()); - msg.readInt16(); // Cape - msg.readInt16(); // Misc1 + tempPlayer->setSprite(Being::CAPE_SPRITE, msg.readInt16()); + tempPlayer->setSprite(Being::MISC1_SPRITE, msg.readInt16()); msg.readInt32(); // option msg.readInt32(); // karma msg.readInt32(); // manner @@ -216,7 +216,7 @@ LocalPlayer* CharServerHandler::readPlayerData(MessageIn &msg, int &slot) tempPlayer->setSprite(Being::TOPCLOTHES_SPRITE, msg.readInt16()); // head option mid int hairColor = msg.readInt16(); tempPlayer->setHairStyle(hairStyle, hairColor); - msg.readInt16(); // unknown + tempPlayer->setSprite(Being::MISC2_SPRITE, msg.readInt16()); tempPlayer->setName(msg.readString(24)); for (int i = 0; i < 6; i++) { tempPlayer->mAttr[i] = msg.readInt8(); |