diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-22 11:15:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-22 11:15:17 +0300 |
commit | b83ede55969e29128ede347b4532cad76cd70339 (patch) | |
tree | c4b77d771894dc6df4169541ba8b3d70e3a6a57c /src | |
parent | 45d47319615c308da55e1310799eaf9a066118e1 (diff) | |
download | mv-b83ede55969e29128ede347b4532cad76cd70339.tar.gz mv-b83ede55969e29128ede347b4532cad76cd70339.tar.bz2 mv-b83ede55969e29128ede347b4532cad76cd70339.tar.xz mv-b83ede55969e29128ede347b4532cad76cd70339.zip |
eathena: in char selection use robe slot for shoes.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/charserverhandler.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp index ab815c37f..02ee92cbc 100644 --- a/src/net/eathena/charserverhandler.cpp +++ b/src/net/eathena/charserverhandler.cpp @@ -183,7 +183,7 @@ void CharServerHandler::readPlayerData(Net::MessageIn &msg, jobStat.base = temp; jobStat.mod = temp; - const int shoes = msg.readInt16("shoes"); + msg.readInt16("shoes?"); const int gloves = msg.readInt16("gloves"); const int cape = msg.readInt16("cape"); const int misc1 = msg.readInt16("misc1"); @@ -228,6 +228,11 @@ void CharServerHandler::readPlayerData(Net::MessageIn &msg, = msg.readUInt8("stat"); } + character->slot = msg.readInt16("character slot id"); + msg.readInt16("rename"); + msg.readString(16, "map name"); + msg.readInt32("delete date"); + const int shoes = msg.readInt32("robe"); tempPlayer->setSprite(SPRITE_SHOE, shoes); tempPlayer->setSprite(SPRITE_GLOVES, gloves); tempPlayer->setSprite(SPRITE_CAPE, cape); @@ -240,11 +245,6 @@ void CharServerHandler::readPlayerData(Net::MessageIn &msg, tempPlayer->setSprite(SPRITE_HAT, hat); tempPlayer->setSprite(SPRITE_TOPCLOTHES, topClothes); tempPlayer->setSprite(SPRITE_MISC2, misc2); - character->slot = msg.readInt16("character slot id"); - msg.readInt16("rename"); - msg.readString(16, "map name"); - msg.readInt32("delete date"); - msg.readInt32("robe"); msg.readInt32("slot change"); tempPlayer->setRename(msg.readInt32("rename (inverse)")); // +++ here need use gender |