From 316033d7b1495b699e1b2a301c4db7f7737a6eb4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 5 Jan 2015 15:48:54 +0300 Subject: Add actual gender in char creation method. --- src/net/eathena/charserverhandler.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/net/eathena/charserverhandler.h') 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 &stats) const override final; -- cgit v1.2.3-70-g09d2