diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-29 23:49:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-29 23:49:29 +0300 |
commit | 45379d14d9d3c7f4673b8390cb95d98bb1759f45 (patch) | |
tree | 698fe787014ca277f5b23144136d4e5417c6b444 /src/gui/windows/charcreatedialog.h | |
parent | 273b79cf4f52c846508f3493727e34b1811ecfd5 (diff) | |
download | ManaVerse-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.gz ManaVerse-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.bz2 ManaVerse-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.xz ManaVerse-45379d14d9d3c7f4673b8390cb95d98bb1759f45.zip |
Convert Gender enum into strong typed enum.
Diffstat (limited to 'src/gui/windows/charcreatedialog.h')
-rw-r--r-- | src/gui/windows/charcreatedialog.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/charcreatedialog.h b/src/gui/windows/charcreatedialog.h index ed1a8fcf3..7ac1980c7 100644 --- a/src/gui/windows/charcreatedialog.h +++ b/src/gui/windows/charcreatedialog.h @@ -72,7 +72,7 @@ class CharCreateDialog final : public Window, const int available, const int min, const int max); - void setDefaultGender(const Gender::Type gender = Gender::FEMALE); + void setDefaultGender(const GenderT gender = Gender::FEMALE); void logic() override final; @@ -155,8 +155,8 @@ class CharCreateDialog final : public Window, int mSlot; - Gender::Type mDefaultGender; - Gender::Type mGender; + GenderT mDefaultGender; + GenderT mGender; unsigned int maxHairColor; unsigned int minHairColor; |