diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/net/beinghandler.cpp | 12 |
2 files changed, 10 insertions, 8 deletions
@@ -1,3 +1,9 @@ +2008-10-26 Bjørn Lindeijer <bjorn@lindeijer.nl> + + * src/net/beinghandler.cpp: Since we somehow did end up depending on a + hacked eAthena instead of supporting existing features decently, + assign the shoes and gloves IDs. + 2008-10-26 Philipp Sehmisch <tmw@crushnet.org> * src/particle.cpp, src/particleemitter.cpp, src/particleemitter.h, 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 |