summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-06-30 22:43:38 +0300
committerAndrei Karas <akaras@inbox.ru>2018-06-30 22:43:38 +0300
commit2b62aea7eaa69010c00476ccd7e03729ccac6226 (patch)
treed479bbfa52f344df12da471b534343f402f62a9d /src/net/eathena
parent14bdb1d3ef3f337b34e68d054bee4a8bdd8bbc13 (diff)
downloadplus-2b62aea7eaa69010c00476ccd7e03729ccac6226.tar.gz
plus-2b62aea7eaa69010c00476ccd7e03729ccac6226.tar.bz2
plus-2b62aea7eaa69010c00476ccd7e03729ccac6226.tar.xz
plus-2b62aea7eaa69010c00476ccd7e03729ccac6226.zip
Rename "other" gender into "hidden" gender.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/playerrecv.cpp4
-rw-r--r--src/net/eathena/serverfeatures.cpp2
-rw-r--r--src/net/eathena/serverfeatures.h2
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;