summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-16 20:45:24 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-16 20:45:24 +0300
commite873e33f470ef65375a64652bc4d4dbbb0297172 (patch)
tree8dbf9dbb52ceebf3739c08516e8a0789f909c6a4 /src/net/tmwa
parent2ff3df08fa993d1bf1f00f47f7cbad7b60ce3ce3 (diff)
downloadplus-e873e33f470ef65375a64652bc4d4dbbb0297172.tar.gz
plus-e873e33f470ef65375a64652bc4d4dbbb0297172.tar.bz2
plus-e873e33f470ef65375a64652bc4d4dbbb0297172.tar.xz
plus-e873e33f470ef65375a64652bc4d4dbbb0297172.zip
Add server feature haveOtherGender.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/serverfeatures.cpp5
-rw-r--r--src/net/tmwa/serverfeatures.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index 07b567b72..e7d35b666 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -109,4 +109,9 @@ bool ServerFeatures::haveItemColors() const
return serverVersion >= 1;
}
+bool ServerFeatures::haveOtherGender() const
+{
+ return serverVersion >= 5;
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index 4307dc002..2af67f255 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -63,6 +63,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveMove3() const override final;
bool haveItemColors() const override final;
+
+ bool haveOtherGender() const override final;
};
} // namespace TmwAthena