summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-01 19:49:57 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-01 19:49:57 +0300
commitf06f491e3f9a5c47b98ec136c8eee7789152ce32 (patch)
tree4d4ab5fa3fdd2cf5483938a8208152f5f53d35b9 /src/net
parenteb7382cbe4c699a907ced9f2a0e6631381e74673 (diff)
downloadplus-f06f491e3f9a5c47b98ec136c8eee7789152ce32.tar.gz
plus-f06f491e3f9a5c47b98ec136c8eee7789152ce32.tar.bz2
plus-f06f491e3f9a5c47b98ec136c8eee7789152ce32.tar.xz
plus-f06f491e3f9a5c47b98ec136c8eee7789152ce32.zip
Remove ServerFeatures haveAttackDirections because it depend only on 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 f5570b0a1..4b20bee56 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -116,11 +116,6 @@ bool ServerFeatures::haveCreateCharGender() const
return serverVersion > 0;
}
-bool ServerFeatures::haveAttackDirections() const
-{
- return true;
-}
-
bool ServerFeatures::haveVending() const
{
return true;
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index 4e28684bd..53536c404 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -66,8 +66,6 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveCreateCharGender() const override final;
- bool haveAttackDirections() const override final A_CONST;
-
bool haveVending() const override final A_CONST;
bool haveCart() const override final A_CONST;
diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h
index dbea1b5d5..a1a614743 100644
--- a/src/net/serverfeatures.h
+++ b/src/net/serverfeatures.h
@@ -68,8 +68,6 @@ class ServerFeatures notfinal
virtual bool haveCreateCharGender() const = 0;
- virtual bool haveAttackDirections() const = 0;
-
virtual bool haveVending() const = 0;
virtual bool haveCart() const = 0;
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index b1a9c3feb..7a438db36 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -114,11 +114,6 @@ bool ServerFeatures::haveCreateCharGender() const
return tmwServerVersion > 0x0f0b17;
}
-bool ServerFeatures::haveAttackDirections() const
-{
- return false;
-}
-
bool ServerFeatures::haveVending() const
{
return false;
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index 0fef3ce70..57b89a57d 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -66,8 +66,6 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveCreateCharGender() const override final;
- bool haveAttackDirections() const override final A_CONST;
-
bool haveVending() const override final A_CONST;
bool haveCart() const override final A_CONST;