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/serverfeatures.cpp | |
parent | 1e2dcd3872b4bf3bb6173688ffdfe21388517c9c (diff) | |
download | manaverse-be513302d41da31a69f4661bab67b930612db967.tar.gz manaverse-be513302d41da31a69f4661bab67b930612db967.tar.bz2 manaverse-be513302d41da31a69f4661bab67b930612db967.tar.xz manaverse-be513302d41da31a69f4661bab67b930612db967.zip |
Remove completly support for tmwa version 0.
Diffstat (limited to 'src/net/tmwa/serverfeatures.cpp')
-rw-r--r-- | src/net/tmwa/serverfeatures.cpp | 11 |
1 files changed, 3 insertions, 8 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 |