summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-29 23:49:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-29 23:49:29 +0300
commit45379d14d9d3c7f4673b8390cb95d98bb1759f45 (patch)
tree698fe787014ca277f5b23144136d4e5417c6b444 /src/net/tmwa
parent273b79cf4f52c846508f3493727e34b1811ecfd5 (diff)
downloadplus-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.cpp2
-rw-r--r--src/net/tmwa/charserverhandler.h2
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,