summaryrefslogtreecommitdiff
path: root/src/net/tmwa/serverfeatures.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-28 22:29:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-28 22:29:38 +0300
commitad04cbfc166ac5166d8967165bddb719a970fe5f (patch)
treec26265f82fd15291a519084ac81a1c07cbcc69ca /src/net/tmwa/serverfeatures.cpp
parent827bbb15f7a4cc5483b1d0dddb3e40fd208b8880 (diff)
downloadmanaplus-ad04cbfc166ac5166d8967165bddb719a970fe5f.tar.gz
manaplus-ad04cbfc166ac5166d8967165bddb719a970fe5f.tar.bz2
manaplus-ad04cbfc166ac5166d8967165bddb719a970fe5f.tar.xz
manaplus-ad04cbfc166ac5166d8967165bddb719a970fe5f.zip
Add server feature haveNpcSex.
Diffstat (limited to 'src/net/tmwa/serverfeatures.cpp')
-rw-r--r--src/net/tmwa/serverfeatures.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index e81fe7def..7068638fa 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -164,4 +164,9 @@ bool ServerFeatures::haveMapServerVersion() const
return false;
}
+bool ServerFeatures::haveNpcGender() const
+{
+ return serverVersion > 0;
+}
+
} // namespace TmwAthena