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/gui/windows/charcreatedialog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui/windows/charcreatedialog.cpp') diff --git a/src/gui/windows/charcreatedialog.cpp b/src/gui/windows/charcreatedialog.cpp index 802340dd3..fa52d2227 100644 --- a/src/gui/windows/charcreatedialog.cpp +++ b/src/gui/windows/charcreatedialog.cpp @@ -578,8 +578,7 @@ void CharCreateDialog::setAttributes(const StringVect &labels, setButtonsPosition(w, h); } -void CharCreateDialog::setFixedGender(const bool fixed, - const Gender::Type gender) +void CharCreateDialog::setDefaultGender(const Gender::Type gender) { mDefaultGender = gender; mPlayer->setGender(gender); -- cgit v1.2.3-60-g2f50