diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-05 15:48:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-05 15:48:54 +0300 |
commit | 316033d7b1495b699e1b2a301c4db7f7737a6eb4 (patch) | |
tree | 3fb76f41146c2bb9713c2ae0e21d5654d9d09ca7 /src/net/charserverhandler.h | |
parent | 5aa5429c62096034769ffdaef92a0fcb5db08301 (diff) | |
download | manaplus-316033d7b1495b699e1b2a301c4db7f7737a6eb4.tar.gz manaplus-316033d7b1495b699e1b2a301c4db7f7737a6eb4.tar.bz2 manaplus-316033d7b1495b699e1b2a301c4db7f7737a6eb4.tar.xz manaplus-316033d7b1495b699e1b2a301c4db7f7737a6eb4.zip |
Add actual gender in char creation method.
Diffstat (limited to 'src/net/charserverhandler.h')
-rw-r--r-- | src/net/charserverhandler.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/charserverhandler.h b/src/net/charserverhandler.h index 2013485a4..aec583df2 100644 --- a/src/net/charserverhandler.h +++ b/src/net/charserverhandler.h @@ -56,8 +56,10 @@ class CharServerHandler notfinal virtual void chooseCharacter(Net::Character *const character) = 0; - virtual void newCharacter(const std::string &name, const int slot, - const bool gender, const int hairstyle, + virtual 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, |