diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-04-09 00:11:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-09 00:11:05 +0300 |
commit | 7b06428d3a428828d15a758a4abaee14bfad58a9 (patch) | |
tree | 6ce4a59d8d0d78ad88f4d13908f0937f7c85e6e0 /src/net/manaserv | |
parent | a54c5dfccb56dc8996f5c7b2a2299a2cb2257f08 (diff) | |
download | mv-7b06428d3a428828d15a758a4abaee14bfad58a9.tar.gz mv-7b06428d3a428828d15a758a4abaee14bfad58a9.tar.bz2 mv-7b06428d3a428828d15a758a4abaee14bfad58a9.tar.xz mv-7b06428d3a428828d15a758a4abaee14bfad58a9.zip |
Add race in char creation dialog. Change client protocol version to 4.
Diffstat (limited to 'src/net/manaserv')
-rw-r--r-- | src/net/manaserv/charhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/manaserv/charhandler.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/net/manaserv/charhandler.cpp b/src/net/manaserv/charhandler.cpp index 163aad988..0988fc9a6 100644 --- a/src/net/manaserv/charhandler.cpp +++ b/src/net/manaserv/charhandler.cpp @@ -310,7 +310,7 @@ void CharHandler::newCharacter(const std::string &name, int slot, bool gender, int hairstyle, - int hairColor, + int hairColor, unsigned char race, const std::vector<int> &stats) { MessageOut msg(PAMSG_CHAR_CREATE); diff --git a/src/net/manaserv/charhandler.h b/src/net/manaserv/charhandler.h index 8de582753..ea44ae23e 100644 --- a/src/net/manaserv/charhandler.h +++ b/src/net/manaserv/charhandler.h @@ -63,6 +63,7 @@ class CharHandler : public MessageHandler, public Net::CharHandler void newCharacter(const std::string &name, int slot, bool gender, int hairstyle, int hairColor, + unsigned char race, const std::vector<int> &stats); void deleteCharacter(Net::Character *character); |