summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-01 17:52:56 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-01 17:52:56 +0300
commit87918db755040bb693cb286d8fb0bcfd97d761af (patch)
tree581d2df22397f829e407d6b5235193e1bf26aac6 /src/net
parentd8e382e49317adf9717d83509c6975f8958f5043 (diff)
downloadmanaverse-87918db755040bb693cb286d8fb0bcfd97d761af.tar.gz
manaverse-87918db755040bb693cb286d8fb0bcfd97d761af.tar.bz2
manaverse-87918db755040bb693cb286d8fb0bcfd97d761af.tar.xz
manaverse-87918db755040bb693cb286d8fb0bcfd97d761af.zip
Remove ServerFeatures haveItemColors because it depend only by server type.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/serverfeatures.cpp5
-rw-r--r--src/net/eathena/serverfeatures.h2
-rw-r--r--src/net/serverfeatures.h2
-rw-r--r--src/net/tmwa/serverfeatures.cpp5
-rw-r--r--src/net/tmwa/serverfeatures.h2
5 files changed, 0 insertions, 16 deletions
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;