summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-05 17:04:43 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-05 17:04:43 +0300
commit6f9af529d0ac68ae8321ccff34268766a1b4c236 (patch)
treebfe560e66a4d2ec0533a5be3f590db113c08d175 /src/net/eathena/charserverhandler.cpp
parentc6bbebbb52e08c456facaf4649f0d5ea3f45840d (diff)
downloadplus-6f9af529d0ac68ae8321ccff34268766a1b4c236.tar.gz
plus-6f9af529d0ac68ae8321ccff34268766a1b4c236.tar.bz2
plus-6f9af529d0ac68ae8321ccff34268766a1b4c236.tar.xz
plus-6f9af529d0ac68ae8321ccff34268766a1b4c236.zip
Simplify setting default gender.
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-rw-r--r--src/net/eathena/charserverhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp
index 4eb4725e0..924e42844 100644
--- a/src/net/eathena/charserverhandler.cpp
+++ b/src/net/eathena/charserverhandler.cpp
@@ -350,7 +350,7 @@ void CharServerHandler::setCharCreateDialog(CharCreateDialog *const window)
const Token &token = static_cast<LoginHandler*>(loginHandler)->getToken();
mCharCreateDialog->setAttributes(attributes, 0, 0, 0);
- mCharCreateDialog->setFixedGender(true, token.sex);
+ mCharCreateDialog->setDefaultGender(token.sex);
}
void CharServerHandler::processCharLogin(Net::MessageIn &msg)