diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-05 17:04:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-05 17:04:43 +0300 |
commit | 6f9af529d0ac68ae8321ccff34268766a1b4c236 (patch) | |
tree | bfe560e66a4d2ec0533a5be3f590db113c08d175 /src/net/tmwa/charserverhandler.cpp | |
parent | c6bbebbb52e08c456facaf4649f0d5ea3f45840d (diff) | |
download | manaverse-6f9af529d0ac68ae8321ccff34268766a1b4c236.tar.gz manaverse-6f9af529d0ac68ae8321ccff34268766a1b4c236.tar.bz2 manaverse-6f9af529d0ac68ae8321ccff34268766a1b4c236.tar.xz manaverse-6f9af529d0ac68ae8321ccff34268766a1b4c236.zip |
Simplify setting default gender.
Diffstat (limited to 'src/net/tmwa/charserverhandler.cpp')
-rw-r--r-- | src/net/tmwa/charserverhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp index b2b754bcb..68d7c77ea 100644 --- a/src/net/tmwa/charserverhandler.cpp +++ b/src/net/tmwa/charserverhandler.cpp @@ -377,7 +377,7 @@ void CharServerHandler::setCharCreateDialog(CharCreateDialog *const window) sumStat = 30; mCharCreateDialog->setAttributes(attributes, sumStat, minStat, maxStat); - mCharCreateDialog->setFixedGender(true, token.sex); + mCharCreateDialog->setDefaultGender(token.sex); } void CharServerHandler::processCharLogin(Net::MessageIn &msg) |