summaryrefslogtreecommitdiff
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
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.
-rw-r--r--ChangeLog6
-rw-r--r--src/net/beinghandler.cpp12
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 <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