diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-03 03:18:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-04 03:02:23 +0300 |
commit | ebecb0cf42f2066943908fa158ac91527e0e6629 (patch) | |
tree | 83dfe4650746e6b31803f7876ab3c0a50179a794 /src/net/ea/beinghandler.cpp | |
parent | fa21c1b65dbe91a1e6ac880db977416162f268df (diff) | |
download | manaverse-ebecb0cf42f2066943908fa158ac91527e0e6629.tar.gz manaverse-ebecb0cf42f2066943908fa158ac91527e0e6629.tar.bz2 manaverse-ebecb0cf42f2066943908fa158ac91527e0e6629.tar.xz manaverse-ebecb0cf42f2066943908fa158ac91527e0e6629.zip |
Fix hair colors color if old and new hair using different paletes.
Also fix hair replace logic between hairs with different paletes.
Diffstat (limited to 'src/net/ea/beinghandler.cpp')
-rw-r--r-- | src/net/ea/beinghandler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 1dc98f776..d234bca6a 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -265,6 +265,7 @@ void BeingHandler::processBeingVisibleOrMove(Net::MessageIn &msg, bool visible) // Set these after the gender, as the sprites may be gender-specific setSprite(dstBeing, EA_SPRITE_HAIR, hairStyle * -1, ItemDB::get(-hairStyle).getDyeColorsString(hairColor)); + dstBeing->setHairColor(hairColor); setSprite(dstBeing, EA_SPRITE_BOTTOMCLOTHES, headBottom); setSprite(dstBeing, EA_SPRITE_TOPCLOTHES, headMid); setSprite(dstBeing, EA_SPRITE_HAT, headTop); |