summaryrefslogtreecommitdiff
path: root/src/net/manaserv/beinghandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/manaserv/beinghandler.cpp')
-rw-r--r--src/net/manaserv/beinghandler.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/manaserv/beinghandler.cpp b/src/net/manaserv/beinghandler.cpp
index 9f6c2ba2c..93f9c0835 100644
--- a/src/net/manaserv/beinghandler.cpp
+++ b/src/net/manaserv/beinghandler.cpp
@@ -188,9 +188,10 @@ void BeingHandler::handleBeingEnterMessage(Net::MessageIn &msg)
}
int hs = msg.readInt8(), hc = msg.readInt8();
const ItemInfo &item = ItemDB::get(-hs);
- being->setSprite(SPRITE_HAIR, hs * -1, item.getDyeColorsString(hc));
+ being->setSprite(SPRITE_HAIR, hs * -1,
+ item.getDyeColorsString(hc));
being->setGender(msg.readInt8() == GENDER_MALE ?
- GENDER_MALE : GENDER_FEMALE);
+ GENDER_MALE : GENDER_FEMALE);
handleLooks(being, msg);
} break;