summaryrefslogtreecommitdiff
path: root/src/net/beinghandler.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-10-26 09:45:25 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-10-26 09:45:25 +0000
commit62a5f6b90c447a73bf0459443a909cbec71dcb25 (patch)
tree64ecb191b8210ed2ca4386020089ae19fc4e8203 /src/net/beinghandler.cpp
parent56410d9ff28448a73be7a7d115d54c1ee578972c (diff)
downloadmana-client-62a5f6b90c447a73bf0459443a909cbec71dcb25.tar.gz
mana-client-62a5f6b90c447a73bf0459443a909cbec71dcb25.tar.bz2
mana-client-62a5f6b90c447a73bf0459443a909cbec71dcb25.tar.xz
mana-client-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/beinghandler.cpp')
-rw-r--r--src/net/beinghandler.cpp12
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