diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-15 15:07:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-15 15:07:29 +0300 |
commit | 692a5d9c7cbbc2a5b2e6b53ae9bf9e301ee03754 (patch) | |
tree | 8b876d33933092c4c8860f9f61fbea67affa78a4 /src/net/eathena | |
parent | 5233a6650692e29a2b811359ea7d3f201b157c74 (diff) | |
download | manaverse-692a5d9c7cbbc2a5b2e6b53ae9bf9e301ee03754.tar.gz manaverse-692a5d9c7cbbc2a5b2e6b53ae9bf9e301ee03754.tar.bz2 manaverse-692a5d9c7cbbc2a5b2e6b53ae9bf9e301ee03754.tar.xz manaverse-692a5d9c7cbbc2a5b2e6b53ae9bf9e301ee03754.zip |
Add server feature haveCharOtherGender.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/serverfeatures.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp index 688e03c46..30cd90efc 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -115,6 +115,11 @@ bool ServerFeatures::haveAccountOtherGender() const return false; } +bool ServerFeatures::haveCharOtherGender() const +{ + return serverVersion >= 10; +} + bool ServerFeatures::haveMonsterAttackRange() const { return false; diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index 0423bde57..2b6aa8245 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/serverfeatures.h @@ -66,6 +66,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveAccountOtherGender() const override final; + bool haveCharOtherGender() const override final; + bool haveMonsterAttackRange() const override final; bool haveMonsterName() const override final; |