summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-20 18:07:56 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-20 18:07:56 +0300
commita111555bd7dbb939673f25f1e8a1f211f61250ad (patch)
tree7ceb5c0f929c0e87d17eec5624d6277d019863d6 /src/net/tmwa
parentea6ec430fe08e78ff88bc5021936a0f3655685a2 (diff)
downloadmanaplus-a111555bd7dbb939673f25f1e8a1f211f61250ad.tar.gz
manaplus-a111555bd7dbb939673f25f1e8a1f211f61250ad.tar.bz2
manaplus-a111555bd7dbb939673f25f1e8a1f211f61250ad.tar.xz
manaplus-a111555bd7dbb939673f25f1e8a1f211f61250ad.zip
Remove server feature haveLangTab.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/serverfeatures.cpp9
-rw-r--r--src/net/tmwa/serverfeatures.h2
2 files changed, 2 insertions, 9 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index de45ad52d..25d024e04 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -36,7 +36,7 @@ ServerFeatures::ServerFeatures()
bool ServerFeatures::haveServerOnlineList() const
{
- return serverVersion >= 3;
+ return false;
}
bool ServerFeatures::haveOnlineList() const
@@ -56,12 +56,7 @@ bool ServerFeatures::haveChangePartyLeader() const
bool ServerFeatures::haveServerHp() const
{
- return serverVersion > 0 || tmwServerVersion > 0x0f0513;
-}
-
-bool ServerFeatures::haveLangTab() const
-{
- return serverVersion >= 8;
+ return tmwServerVersion > 0x0f0513;
}
bool ServerFeatures::havePlayerStatusUpdate() const
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index 0b8beab9a..383d048b4 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -44,8 +44,6 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveServerHp() const override final;
- bool haveLangTab() const override final;
-
bool havePlayerStatusUpdate() const override final;
bool haveBrokenPlayerAttackDistance() const override final;