summaryrefslogtreecommitdiff
path: root/src/net/manaserv
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-09 00:11:05 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-09 00:11:05 +0300
commit7b06428d3a428828d15a758a4abaee14bfad58a9 (patch)
tree6ce4a59d8d0d78ad88f4d13908f0937f7c85e6e0 /src/net/manaserv
parenta54c5dfccb56dc8996f5c7b2a2299a2cb2257f08 (diff)
downloadmanaverse-7b06428d3a428828d15a758a4abaee14bfad58a9.tar.gz
manaverse-7b06428d3a428828d15a758a4abaee14bfad58a9.tar.bz2
manaverse-7b06428d3a428828d15a758a4abaee14bfad58a9.tar.xz
manaverse-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.cpp2
-rw-r--r--src/net/manaserv/charhandler.h1
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);