summaryrefslogtreecommitdiff
path: root/src/net/beinghandler.cpp
diff options
context:
space:
mode:
authorDennis Friis <peavey@placid.dk>2008-10-30 03:11:06 +0000
committerDennis Friis <peavey@placid.dk>2008-10-30 03:11:06 +0000
commit957da7a45ac7077b65f7ea00682d50345c3937f5 (patch)
treea591e56f96966e8c497976559ced7742905c4ca1 /src/net/beinghandler.cpp
parentd947a9ea994fa7bf4899b2460b1904557dfbc796 (diff)
downloadmana-957da7a45ac7077b65f7ea00682d50345c3937f5.tar.gz
mana-957da7a45ac7077b65f7ea00682d50345c3937f5.tar.bz2
mana-957da7a45ac7077b65f7ea00682d50345c3937f5.tar.xz
mana-957da7a45ac7077b65f7ea00682d50345c3937f5.zip
Do not set shoe sprite on player move packet unless supported by eAthena.
Diffstat (limited to 'src/net/beinghandler.cpp')
-rw-r--r--src/net/beinghandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp
index d0262ad9..101d1149 100644
--- a/src/net/beinghandler.cpp
+++ b/src/net/beinghandler.cpp
@@ -415,9 +415,9 @@ void BeingHandler::handleMessage(MessageIn *msg)
dstBeing->setSprite(Being::BOTTOMCLOTHES_SPRITE, headBottom);
dstBeing->setSprite(Being::TOPCLOTHES_SPRITE, headMid);
dstBeing->setSprite(Being::HAT_SPRITE, headTop);
- dstBeing->setSprite(Being::SHOE_SPRITE, shoes);
- // Compensation for the unpatched TMW server
- if (gloves > 10)
+ if (shoes > 10) // only if supported by eAthena
+ dstBeing->setSprite(Being::SHOE_SPRITE, shoes);
+ if (gloves > 10) // only if supported by eAthena
dstBeing->setSprite(Being::GLOVES_SPRITE, gloves);
dstBeing->setSprite(Being::CAPE_SPRITE, cape);
dstBeing->setSprite(Being::MISC1_SPRITE, misc1);