diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-09-28 23:54:56 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-09-28 23:54:56 +0200 |
commit | 20ecfcc950208862d366c5c065319f423f3c7115 (patch) | |
tree | 7ed821a11f5ec96e558bbcb0b681f77d4712764e /src/net/manaserv/charhandler.cpp | |
parent | 93c60c2b94b658e4839641c25f56859706cca921 (diff) | |
download | mana-20ecfcc950208862d366c5c065319f423f3c7115.tar.gz mana-20ecfcc950208862d366c5c065319f423f3c7115.tar.bz2 mana-20ecfcc950208862d366c5c065319f423f3c7115.tar.xz mana-20ecfcc950208862d366c5c065319f423f3c7115.zip |
Officially added the gender in the manaserv protocol - client part.
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 b1ddc96a..2bc76fa9 100644 --- a/src/net/manaserv/charhandler.cpp +++ b/src/net/manaserv/charhandler.cpp @@ -103,8 +103,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(); |