diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-10-22 23:57:01 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-10-22 23:57:01 +0200 |
commit | 659b1eac4fc9e733fcfd233020bac78701c30640 (patch) | |
tree | 71a989257a61f56d3788dec8008e87fc492c1bac /src/net/manaserv/charhandler.cpp | |
parent | 5d115b5fd4d9915c4e72c33d800ddbd8a48802b5 (diff) | |
download | mana-659b1eac4fc9e733fcfd233020bac78701c30640.tar.gz mana-659b1eac4fc9e733fcfd233020bac78701c30640.tar.bz2 mana-659b1eac4fc9e733fcfd233020bac78701c30640.tar.xz mana-659b1eac4fc9e733fcfd233020bac78701c30640.zip |
Officially added the gender in the manaserv protocol.
Reviewed-by: bjorn.
Diffstat (limited to 'src/net/manaserv/charhandler.cpp')
-rw-r--r-- | src/net/manaserv/charhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/manaserv/charhandler.cpp b/src/net/manaserv/charhandler.cpp index 79f3b35a..33dd94ba 100644 --- a/src/net/manaserv/charhandler.cpp +++ b/src/net/manaserv/charhandler.cpp @@ -101,8 +101,8 @@ void CharHandler::handleCharacterInfo(Net::MessageIn &msg) CachedCharacterInfo info; info.slot = msg.readInt8(); info.name = msg.readString(); - info.gender = msg.readInt8() == GENDER_MALE ? GENDER_MALE : - GENDER_FEMALE; + info.gender = msg.readInt8() == ManaServ::GENDER_MALE ? + ::GENDER_MALE : ::GENDER_FEMALE; info.hairStyle = msg.readInt8(); info.hairColor = msg.readInt8(); info.level = msg.readInt16(); |