diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-10-26 09:45:25 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-10-26 09:45:25 +0000 |
commit | 62a5f6b90c447a73bf0459443a909cbec71dcb25 (patch) | |
tree | 64ecb191b8210ed2ca4386020089ae19fc4e8203 /src/net | |
parent | 56410d9ff28448a73be7a7d115d54c1ee578972c (diff) | |
download | mana-62a5f6b90c447a73bf0459443a909cbec71dcb25.tar.gz mana-62a5f6b90c447a73bf0459443a909cbec71dcb25.tar.bz2 mana-62a5f6b90c447a73bf0459443a909cbec71dcb25.tar.xz mana-62a5f6b90c447a73bf0459443a909cbec71dcb25.zip |
Since we somehow did end up depending on a hacked eAthena instead of supporting
existing features decently, assign the shoes and gloves IDs.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/beinghandler.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp index 7a0be952..d0262ad9 100644 --- a/src/net/beinghandler.cpp +++ b/src/net/beinghandler.cpp @@ -130,10 +130,8 @@ void BeingHandler::handleMessage(MessageIn *msg) headTop = msg->readInt16(); headMid = msg->readInt16(); hairColor = msg->readInt16(); - msg->readInt16(); // clothes color - not used - msg->readInt16(); // head dir - shoes = 0; - gloves = 0; + shoes = msg->readInt16(); // clothes color - "abused" as shoes + gloves = msg->readInt16(); // head dir - "abused" as gloves msg->readInt16(); // guild msg->readInt16(); // unknown msg->readInt16(); // unknown @@ -403,10 +401,8 @@ void BeingHandler::handleMessage(MessageIn *msg) headTop = msg->readInt16(); headMid = msg->readInt16(); hairColor = msg->readInt16(); - shoes = 0; - gloves = 0; - msg->readInt16(); // clothes color - not used - msg->readInt16(); // head dir + shoes = msg->readInt16(); // clothes color - "abused" as shoes + gloves = msg->readInt16(); // head dir - "abused" as gloves msg->readInt32(); // guild msg->readInt32(); // emblem msg->readInt16(); // manner |