diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-16 14:39:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-16 14:39:32 +0300 |
commit | 279efb073f06175d734126b3ba61453347ec4e45 (patch) | |
tree | 7eec2d656f65eb3f2074bbe3dead670ce2b03b37 /src/net/tmwa | |
parent | 904ab7f6570a7f9836a7a11fa127b411c75e8923 (diff) | |
download | manaplus-279efb073f06175d734126b3ba61453347ec4e45.tar.gz manaplus-279efb073f06175d734126b3ba61453347ec4e45.tar.bz2 manaplus-279efb073f06175d734126b3ba61453347ec4e45.tar.xz manaplus-279efb073f06175d734126b3ba61453347ec4e45.zip |
add server feature for language tab.
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 aeb514bb1..e6aa700ab 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -54,4 +54,9 @@ bool ServerFeatures::haveServerHp() const return serverVersion > 0 || tmwServerVersion >= 0x0E0701; } +bool ServerFeatures::haveLangTab() const +{ + return serverVersion >= 8; +} + } // namespace TmwAthena diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index 0ce0b507a..10c6dd899 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -41,6 +41,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveChangePartyLeader() const override final; bool haveServerHp() const override final; + + bool haveLangTab() const override final; }; } // namespace TmwAthena |