summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-06 01:23:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-06 01:23:02 +0300
commit4a688fa73264495d6f0db661e6d3d5c4630ed6df (patch)
tree5a3a4c45e7a73c71d7aa699c3a987060aae96bfe /src/net/tmwa
parent6245aed671abe032d47db8b0bce7d7b3f3ca522a (diff)
downloadmv-4a688fa73264495d6f0db661e6d3d5c4630ed6df.tar.gz
mv-4a688fa73264495d6f0db661e6d3d5c4630ed6df.tar.bz2
mv-4a688fa73264495d6f0db661e6d3d5c4630ed6df.tar.xz
mv-4a688fa73264495d6f0db661e6d3d5c4630ed6df.zip
Add server feature "have server version".
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 d80a8a0fc..b83ef8edf 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -154,4 +154,9 @@ bool ServerFeatures::haveBankApi() const
return false;
}
+bool ServerFeatures::haveServerVersion() const
+{
+ return true;
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index be3409d21..2c3e1e06c 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -81,6 +81,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveCharRename() const override final;
bool haveBankApi() const override final;
+
+ bool haveServerVersion() const override final;
};
} // namespace TmwAthena