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/gui/windows/charcreatedialog.cpp | |
parent | c6bbebbb52e08c456facaf4649f0d5ea3f45840d (diff) | |
download | plus-6f9af529d0ac68ae8321ccff34268766a1b4c236.tar.gz plus-6f9af529d0ac68ae8321ccff34268766a1b4c236.tar.bz2 plus-6f9af529d0ac68ae8321ccff34268766a1b4c236.tar.xz plus-6f9af529d0ac68ae8321ccff34268766a1b4c236.zip |
Simplify setting default gender.
Diffstat (limited to 'src/gui/windows/charcreatedialog.cpp')
-rw-r--r-- | src/gui/windows/charcreatedialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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); |