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/net/tmwa | |
parent | 273b79cf4f52c846508f3493727e34b1811ecfd5 (diff) | |
download | plus-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.gz plus-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.bz2 plus-45379d14d9d3c7f4673b8390cb95d98bb1759f45.tar.xz plus-45379d14d9d3c7f4673b8390cb95d98bb1759f45.zip |
Convert Gender enum into strong typed enum.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/charserverhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/charserverhandler.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp index 6662009b3..32a09817a 100644 --- a/src/net/tmwa/charserverhandler.cpp +++ b/src/net/tmwa/charserverhandler.cpp @@ -256,7 +256,7 @@ void CharServerHandler::chooseCharacter(Net::Character *const character) } void CharServerHandler::newCharacter(const std::string &name, const int slot, - const Gender::Type gender A_UNUSED, + const GenderT gender A_UNUSED, const int hairstyle, const int hairColor, const unsigned char race, diff --git a/src/net/tmwa/charserverhandler.h b/src/net/tmwa/charserverhandler.h index 2d73d5a22..a9f99218e 100644 --- a/src/net/tmwa/charserverhandler.h +++ b/src/net/tmwa/charserverhandler.h @@ -47,7 +47,7 @@ class CharServerHandler final : public MessageHandler, void newCharacter(const std::string &name, const int slot, - const Gender::Type gender, + const GenderT gender, const int hairstyle, const int hairColor, const unsigned char race, |