summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-22 11:15:17 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-22 11:15:17 +0300
commitb83ede55969e29128ede347b4532cad76cd70339 (patch)
treec4b77d771894dc6df4169541ba8b3d70e3a6a57c
parent45d47319615c308da55e1310799eaf9a066118e1 (diff)
downloadplus-b83ede55969e29128ede347b4532cad76cd70339.tar.gz
plus-b83ede55969e29128ede347b4532cad76cd70339.tar.bz2
plus-b83ede55969e29128ede347b4532cad76cd70339.tar.xz
plus-b83ede55969e29128ede347b4532cad76cd70339.zip
eathena: in char selection use robe slot for shoes.
-rw-r--r--src/net/eathena/charserverhandler.cpp12
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