diff options
Diffstat (limited to 'src/gui/windows/charcreatedialog.cpp')
-rw-r--r-- | src/gui/windows/charcreatedialog.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/windows/charcreatedialog.cpp b/src/gui/windows/charcreatedialog.cpp index 17d993f1a..b2913ce68 100644 --- a/src/gui/windows/charcreatedialog.cpp +++ b/src/gui/windows/charcreatedialog.cpp @@ -139,7 +139,8 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *const parent, maxHairStyle(CharDB::getMaxHairStyle()), minHairStyle(CharDB::getMinHairStyle()), mAction(0), - mDirection(0) + mDirection(0), + mShowHiddenGender(CharDB::getShowHiddenGender()) { setStickyButtonLock(true); setSticky(true); @@ -285,7 +286,8 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *const parent, mGenderStrip->addButton(_("F"), "f", false); if (features.getIntValue("forceAccountGender") == -1) { - if (serverFeatures->haveCharHiddenGender()) + if (mShowHiddenGender && + serverFeatures->haveCharHiddenGender()) { // TRANSLATORS: one char size male character gender mGenderStrip->addButton(_("M"), "m", true); @@ -304,7 +306,8 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *const parent, { // TRANSLATORS: one char size male character gender mGenderStrip->addButton(_("M"), "m", true); - if (serverFeatures->haveCharHiddenGender()) + if (mShowHiddenGender && + serverFeatures->haveCharHiddenGender()) { // TRANSLATORS: one char size hidden character gender mGenderStrip->addButton(_("H"), "h", false); |