diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-01 21:57:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-01 21:57:50 +0300 |
commit | 8a1eb6607cdd4fbdc56b8217f7b9ec3987c1ec2d (patch) | |
tree | 9252c98b1fdf0f71aff58b8777090da94356c593 /src/net | |
parent | 53f7874c0ae9e4e6337afdab6ec8383ae2f66f7c (diff) | |
download | plus-8a1eb6607cdd4fbdc56b8217f7b9ec3987c1ec2d.tar.gz plus-8a1eb6607cdd4fbdc56b8217f7b9ec3987c1ec2d.tar.bz2 plus-8a1eb6607cdd4fbdc56b8217f7b9ec3987c1ec2d.tar.xz plus-8a1eb6607cdd4fbdc56b8217f7b9ec3987c1ec2d.zip |
Remove ServerFeatures haveAdvancedBuySell because it depend only on server type.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/serverfeatures.h | 2 | ||||
-rw-r--r-- | src/net/serverfeatures.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.h | 2 |
5 files changed, 0 insertions, 16 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp index 164963c3c..2c7896eed 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -136,11 +136,6 @@ bool ServerFeatures::haveExtendedRiding() const return serverVersion > 0; } -bool ServerFeatures::haveAdvancedBuySell() const -{ - return true; -} - bool ServerFeatures::haveSlide() const { return true; diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index cc73897af..509807adf 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/serverfeatures.h @@ -74,8 +74,6 @@ class ServerFeatures final : public Net::ServerFeatures bool haveExtendedRiding() const override final; - bool haveAdvancedBuySell() const override final A_CONST; - bool haveSlide() const override final; bool haveExtendedDropsPosition() const override final; diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h index 69d5fa5cf..5c8fc87f9 100644 --- a/src/net/serverfeatures.h +++ b/src/net/serverfeatures.h @@ -76,8 +76,6 @@ class ServerFeatures notfinal virtual bool haveExtendedRiding() const = 0; - virtual bool haveAdvancedBuySell() const = 0; - virtual bool haveSlide() const = 0; virtual bool haveExtendedDropsPosition() const = 0; diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index 59f5bbe98..4613d55ed 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -134,11 +134,6 @@ bool ServerFeatures::haveExtendedRiding() const return false; } -bool ServerFeatures::haveAdvancedBuySell() const -{ - return false; -} - bool ServerFeatures::haveSlide() const { return false; diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index a24b0c677..453ab9b35 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -74,8 +74,6 @@ class ServerFeatures final : public Net::ServerFeatures bool haveExtendedRiding() const override final A_CONST; - bool haveAdvancedBuySell() const override final A_CONST; - bool haveSlide() const override final A_CONST; bool haveExtendedDropsPosition() const override final A_CONST; |