summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-12 23:51:27 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-12 23:51:27 +0300
commit5f082ab8196878a35e1f80349ae5c23895a9c4b2 (patch)
tree3656d2c8bcfb94c95230db021b3bdbe2436aa48c /src/net/eathena/beinghandler.cpp
parent5e6d87932f3bd15d425f4c1fb10fb0b4e41bd598 (diff)
downloadmv-5f082ab8196878a35e1f80349ae5c23895a9c4b2.tar.gz
mv-5f082ab8196878a35e1f80349ae5c23895a9c4b2.tar.bz2
mv-5f082ab8196878a35e1f80349ae5c23895a9c4b2.tar.xz
mv-5f082ab8196878a35e1f80349ae5c23895a9c4b2.zip
eathena: dont update slots from move packets.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index 3bc28ed08..e8b8523c0 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -885,12 +885,15 @@ void BeingHandler::processBeingMove(Net::MessageIn &msg)
// Set these after the gender, as the sprites may be gender-specific
setSprite(dstBeing, SPRITE_HAIR_COLOR, hairStyle * -1,
ItemDB::get(-hairStyle).getDyeColorsString(hairColor));
- setSprite(dstBeing, SPRITE_WEAPON, headBottom);
- setSprite(dstBeing, SPRITE_HEAD_BOTTOM, headMid);
- setSprite(dstBeing, SPRITE_CLOTHES_COLOR, headTop);
- setSprite(dstBeing, SPRITE_HAIR, shoes);
- setSprite(dstBeing, SPRITE_SHOES, gloves);
- setSprite(dstBeing, SPRITE_BODY, weapon, "", 1, true);
+ if (!serverFeatures->haveMove3())
+ {
+ setSprite(dstBeing, SPRITE_WEAPON, headBottom);
+ setSprite(dstBeing, SPRITE_HEAD_BOTTOM, headMid);
+ setSprite(dstBeing, SPRITE_CLOTHES_COLOR, headTop);
+ setSprite(dstBeing, SPRITE_HAIR, shoes);
+ setSprite(dstBeing, SPRITE_SHOES, gloves);
+ setSprite(dstBeing, SPRITE_BODY, weapon, "", 1, true);
+ }
// if (!mHideShield)
// setSprite(dstBeing, SPRITE_FLOOR, shield);
}