From 62a5f6b90c447a73bf0459443a909cbec71dcb25 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 26 Oct 2008 09:45:25 +0000 Subject: Since we somehow did end up depending on a hacked eAthena instead of supporting existing features decently, assign the shoes and gloves IDs. --- ChangeLog | 6 ++++++ src/net/beinghandler.cpp | 12 ++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index afdc97da..34d27d69 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-10-26 Bjørn Lindeijer + + * 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 * 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 -- cgit v1.2.3-70-g09d2