From 87918db755040bb693cb286d8fb0bcfd97d761af Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 May 2017 17:52:56 +0300 Subject: Remove ServerFeatures haveItemColors because it depend only by server type. --- src/net/eathena/serverfeatures.cpp | 5 ----- src/net/eathena/serverfeatures.h | 2 -- src/net/serverfeatures.h | 2 -- src/net/tmwa/serverfeatures.cpp | 5 ----- src/net/tmwa/serverfeatures.h | 2 -- 5 files changed, 16 deletions(-) (limited to 'src/net') diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp index c305fafcf..09e1cbb05 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -71,11 +71,6 @@ bool ServerFeatures::haveMove3() const return serverVersion > 0; } -bool ServerFeatures::haveItemColors() const -{ - return true; -} - bool ServerFeatures::haveAccountOtherGender() const { return false; diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index 97ceef268..dc057c35b 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/serverfeatures.h @@ -48,8 +48,6 @@ class ServerFeatures final : public Net::ServerFeatures bool haveMove3() const override final; - bool haveItemColors() const override final A_CONST; - bool haveAccountOtherGender() const override final A_CONST; bool haveCharOtherGender() const override final; diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h index 83739b85f..7fdaccbcd 100644 --- a/src/net/serverfeatures.h +++ b/src/net/serverfeatures.h @@ -50,8 +50,6 @@ class ServerFeatures notfinal virtual bool haveMove3() const = 0; - virtual bool haveItemColors() const = 0; - virtual bool haveAccountOtherGender() const = 0; virtual bool haveCharOtherGender() const = 0; diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index 72841b374..c56b2f31b 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -69,11 +69,6 @@ bool ServerFeatures::haveMove3() const return tmwServerVersion >= 0x0f0512 && tmwServerVersion <= 0xf0706; } -bool ServerFeatures::haveItemColors() const -{ - return false; -} - bool ServerFeatures::haveAccountOtherGender() const { return false; diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index c23b45f11..fbe89e505 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -48,8 +48,6 @@ class ServerFeatures final : public Net::ServerFeatures bool haveMove3() const override final; - bool haveItemColors() const override final A_CONST; - bool haveAccountOtherGender() const override final A_CONST; bool haveCharOtherGender() const override final; -- cgit v1.2.3-60-g2f50