diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/playerrecv.cpp | 4 | ||||
-rw-r--r-- | src/net/eathena/serverfeatures.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/serverfeatures.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/net/eathena/playerrecv.cpp b/src/net/eathena/playerrecv.cpp index 7ae05eba6..11d9e9bc1 100644 --- a/src/net/eathena/playerrecv.cpp +++ b/src/net/eathena/playerrecv.cpp @@ -471,8 +471,8 @@ void PlayerRecv::processOnlineList(Net::MessageIn &msg) { if ((status & BeingFlag::GENDER_MALE) != 0) gender = Gender::MALE; - else if ((status & BeingFlag::GENDER_OTHER) != 0) - gender = Gender::OTHER; + else if ((status & BeingFlag::GENDER_HIDDEN) != 0) + gender = Gender::HIDDEN; else gender = Gender::FEMALE; } diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp index b3e4b289c..71f8366b9 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -70,7 +70,7 @@ bool ServerFeatures::haveMove3() const return serverVersion > 0; } -bool ServerFeatures::haveCharOtherGender() const +bool ServerFeatures::haveCharHiddenGender() const { return true; } diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index d1912be01..f56878772 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/serverfeatures.h @@ -48,7 +48,7 @@ class ServerFeatures final : public Net::ServerFeatures bool haveMove3() const override final; - bool haveCharOtherGender() const override final; + bool haveCharHiddenGender() const override final; bool haveMonsterAttackRange() const override final A_CONST; |