From 45379d14d9d3c7f4673b8390cb95d98bb1759f45 Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Fri, 29 May 2015 23:49:29 +0300
Subject: Convert Gender enum into strong typed enum.

---
 src/net/tmwa/charserverhandler.cpp | 2 +-
 src/net/tmwa/charserverhandler.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/net/tmwa')

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,
-- 
cgit v1.2.3-70-g09d2