diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-06-30 22:43:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-06-30 22:43:38 +0300 |
commit | 2b62aea7eaa69010c00476ccd7e03729ccac6226 (patch) | |
tree | d479bbfa52f344df12da471b534343f402f62a9d /src/net/tmwa | |
parent | 14bdb1d3ef3f337b34e68d054bee4a8bdd8bbc13 (diff) | |
download | plus-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/tmwa')
-rw-r--r-- | src/net/tmwa/beingrecv.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/beingrecv.cpp b/src/net/tmwa/beingrecv.cpp index fc523b510..f4b533891 100644 --- a/src/net/tmwa/beingrecv.cpp +++ b/src/net/tmwa/beingrecv.cpp @@ -1494,7 +1494,7 @@ void BeingRecv::setServerGender(Being *const being, being->setGender(Gender::MALE); break; case 4: - being->setGender(Gender::OTHER); + being->setGender(Gender::HIDDEN); break; default: being->setGender(Gender::UNSPECIFIED); diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index c6e38da8c..db70d836f 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -68,7 +68,7 @@ bool ServerFeatures::haveMove3() const return tmwServerVersion >= 0x0f0512 && tmwServerVersion <= 0xf0706; } -bool ServerFeatures::haveCharOtherGender() const +bool ServerFeatures::haveCharHiddenGender() const { return tmwServerVersion > 0x0f0b17; } diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index 2f5c118af..26128e46f 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/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; |