From be513302d41da31a69f4661bab67b930612db967 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Jul 2016 21:33:04 +0300 Subject: Remove completly support for tmwa version 0. --- src/net/tmwa/serverfeatures.cpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src/net/tmwa/serverfeatures.cpp') 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 -- cgit v1.2.3-70-g09d2