From 6f9af529d0ac68ae8321ccff34268766a1b4c236 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 5 Jan 2015 17:04:43 +0300 Subject: Simplify setting default gender. --- src/net/eathena/charserverhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/eathena/charserverhandler.cpp') 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)->getToken(); mCharCreateDialog->setAttributes(attributes, 0, 0, 0); - mCharCreateDialog->setFixedGender(true, token.sex); + mCharCreateDialog->setDefaultGender(token.sex); } void CharServerHandler::processCharLogin(Net::MessageIn &msg) -- cgit v1.2.3-70-g09d2