summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-05 15:48:54 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-05 15:48:54 +0300
commit316033d7b1495b699e1b2a301c4db7f7737a6eb4 (patch)
tree3fb76f41146c2bb9713c2ae0e21d5654d9d09ca7 /src/net/eathena/charserverhandler.h
parent5aa5429c62096034769ffdaef92a0fcb5db08301 (diff)
downloadmv-316033d7b1495b699e1b2a301c4db7f7737a6eb4.tar.gz
mv-316033d7b1495b699e1b2a301c4db7f7737a6eb4.tar.bz2
mv-316033d7b1495b699e1b2a301c4db7f7737a6eb4.tar.xz
mv-316033d7b1495b699e1b2a301c4db7f7737a6eb4.zip
Add actual gender in char creation method.
Diffstat (limited to 'src/net/eathena/charserverhandler.h')
-rw-r--r--src/net/eathena/charserverhandler.h9
1 files changed, 6 insertions, 3 deletions
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;