diff options
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; |