summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/serverfeatures.cpp5
-rw-r--r--src/net/eathena/serverfeatures.h2
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;