diff options
-rw-r--r-- | src/being/being.cpp | 4 | ||||
-rw-r--r-- | src/being/being.h | 4 | ||||
-rw-r--r-- | src/net/eathena/beingrecv.cpp | 3 |
3 files changed, 6 insertions, 5 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index 889129cff..84716dd8f 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -2767,8 +2767,8 @@ void Being::setTempSprite(const unsigned int slot, } } -void Being::setSpriteID(const unsigned int slot, - const int id) restrict2 +void Being::setHairColorSpriteID(const unsigned int slot, + const int id) restrict2 { BeingSlot &beingSlot = mSlots[slot]; setSprite(slot, diff --git a/src/being/being.h b/src/being/being.h index 127385d16..825e4ab84 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -339,8 +339,8 @@ class Being notfinal : public ActorSprite, const ItemColor colorId = ItemColor_one) restrict2; - void setSpriteID(const unsigned int slot, - const int id) restrict2; + void setHairColorSpriteID(const unsigned int slot, + const int id) restrict2; void setSpriteColor(const unsigned int slot, const std::string &restrict color = "") restrict2; diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp index b91737249..2a06e899b 100644 --- a/src/net/eathena/beingrecv.cpp +++ b/src/net/eathena/beingrecv.cpp @@ -155,7 +155,8 @@ void BeingRecv::processBeingChangeLookContinue(const Net::MessageIn &msg, break; case 1: // eAthena LOOK_HAIR dstBeing->setHairColor(fromInt(id, ItemColor)); - dstBeing->setSpriteID(SPRITE_HAIR_COLOR, id * -1); + dstBeing->setHairColorSpriteID(SPRITE_HAIR_COLOR, + id * -1); break; case 2: // LOOK_WEAPON Weapon ID in id, Shield ID in id2 dstBeing->setSpriteCards(SPRITE_BODY, |