summaryrefslogtreecommitdiff
path: root/src/net/manaserv/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-11 02:53:26 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-11 16:22:20 +0300
commitdcba44a20e622ec38d536fb03c0c8404e9399f80 (patch)
treed0271d9a11e1117eb9a3138063710c6db73154cc /src/net/manaserv/beinghandler.cpp
parent78d804ba1751134120caca22f0cf5abcfd11f29d (diff)
downloadmv-dcba44a20e622ec38d536fb03c0c8404e9399f80.tar.gz
mv-dcba44a20e622ec38d536fb03c0c8404e9399f80.tar.bz2
mv-dcba44a20e622ec38d536fb03c0c8404e9399f80.tar.xz
mv-dcba44a20e622ec38d536fb03c0c8404e9399f80.zip
Fix code style.
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;