summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-15 19:57:48 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-15 19:57:48 +0300
commit605205eaba29773d9b6c67d5920bf6964366f37e (patch)
tree0d79200312182181851a240f6a802ec0138a7f11 /src/net/eathena/charserverhandler.cpp
parent785cec74c47ffa784a08b7e722fc1aab7a17bd69 (diff)
downloadmanaplus-605205eaba29773d9b6c67d5920bf6964366f37e.tar.gz
manaplus-605205eaba29773d9b6c67d5920bf6964366f37e.tar.bz2
manaplus-605205eaba29773d9b6c67d5920bf6964366f37e.tar.xz
manaplus-605205eaba29773d9b6c67d5920bf6964366f37e.zip
eathena: add support for setting player look in char creation.
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-rw-r--r--src/net/eathena/charserverhandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp
index 0b0af5033..d629be708 100644
--- a/src/net/eathena/charserverhandler.cpp
+++ b/src/net/eathena/charserverhandler.cpp
@@ -294,6 +294,8 @@ void CharServerHandler::newCharacter(const std::string &name, const int slot,
sex = Being::genderToInt(gender);
outMsg.writeInt8(sex, "gender");
}
+ if (serverFeatures->haveLookSelection())
+ outMsg.writeInt16(static_cast<int16_t>(look), "look");
}
void CharServerHandler::deleteCharacter(Net::Character *const character,