diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/charserverhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/charserverhandler.h | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp index c2292abde..12440ebb3 100644 --- a/src/net/eathena/charserverhandler.cpp +++ b/src/net/eathena/charserverhandler.cpp @@ -268,7 +268,7 @@ void CharServerHandler::chooseCharacter(Net::Character *const character) } void CharServerHandler::newCharacter(const std::string &name, const int slot, - const bool gender A_UNUSED, + const Gender::Type gender, const int hairstyle, const int hairColor, const unsigned char race A_UNUSED, const unsigned char look A_UNUSED, diff --git a/src/net/eathena/charserverhandler.h b/src/net/eathena/charserverhandler.h index d62d0a3df..a6384cbaa 100644 --- a/src/net/eathena/charserverhandler.h +++ b/src/net/eathena/charserverhandler.h @@ -45,9 +45,12 @@ class CharServerHandler final : public MessageHandler, void chooseCharacter(Net::Character *const character) override final; - void newCharacter(const std::string &name, const int slot, - const bool gender, const int hairstyle, - const int hairColor, const unsigned char race, + void newCharacter(const std::string &name, + const int slot, + const Gender::Type gender, + const int hairstyle, + const int hairColor, + const unsigned char race, const unsigned char look, const std::vector<int> &stats) const override final; |