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/tmwa | |
parent | 5233a6650692e29a2b811359ea7d3f201b157c74 (diff) | |
download | manaplus-692a5d9c7cbbc2a5b2e6b53ae9bf9e301ee03754.tar.gz manaplus-692a5d9c7cbbc2a5b2e6b53ae9bf9e301ee03754.tar.bz2 manaplus-692a5d9c7cbbc2a5b2e6b53ae9bf9e301ee03754.tar.xz manaplus-692a5d9c7cbbc2a5b2e6b53ae9bf9e301ee03754.zip |
Add server feature haveCharOtherGender.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index 461c25e8d..2fb96f781 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -114,6 +114,11 @@ bool ServerFeatures::haveAccountOtherGender() const return false; } +bool ServerFeatures::haveCharOtherGender() const +{ + return false; +} + bool ServerFeatures::haveMonsterAttackRange() const { return tmwServerVersion >= 0x0f0513; diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index 582bea20b..20c09bc47 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/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; |