diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-24 21:33:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-24 21:33:04 +0300 |
commit | be513302d41da31a69f4661bab67b930612db967 (patch) | |
tree | e8538e69e5d3763bd52dc4afd8046223023c7fdf /src/net/tmwa | |
parent | 1e2dcd3872b4bf3bb6173688ffdfe21388517c9c (diff) | |
download | plus-be513302d41da31a69f4661bab67b930612db967.tar.gz plus-be513302d41da31a69f4661bab67b930612db967.tar.bz2 plus-be513302d41da31a69f4661bab67b930612db967.tar.xz plus-be513302d41da31a69f4661bab67b930612db967.zip |
Remove completly support for tmwa version 0.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/serverfeatures.cpp | 11 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.h | 2 |
2 files changed, 3 insertions, 10 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index d1415be72..e9615a68a 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -75,7 +75,7 @@ bool ServerFeatures::haveNativeGuilds() const bool ServerFeatures::haveIncompleteChatMessages() const { - return tmwServerVersion > 0 && tmwServerVersion <= 0x100209; + return tmwServerVersion <= 0x100209; } bool ServerFeatures::haveRaceSelection() const @@ -95,7 +95,7 @@ bool ServerFeatures::haveChatChannels() const bool ServerFeatures::haveServerIgnore() const { - return tmwServerVersion == 0; + return false; } bool ServerFeatures::haveMove3() const @@ -230,12 +230,7 @@ bool ServerFeatures::haveChangePassword() const bool ServerFeatures::haveTeamId() const { - return tmwServerVersion > 0; -} - -bool ServerFeatures::haveNewGuild() const -{ - return tmwServerVersion > 0; + return true; } bool ServerFeatures::haveAdvancedSprites() const diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index 4f5fb5a14..10f328077 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -114,8 +114,6 @@ class ServerFeatures final : public Net::ServerFeatures bool haveTeamId() const override final; - bool haveNewGuild() const override final; - bool haveAdvancedSprites() const override final A_CONST; bool haveExtendedRiding() const override final A_CONST; |