summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-21 21:02:14 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-21 21:02:14 +0300
commit3ff29eb31e08751f6e4993c62c0be8ac5b159b92 (patch)
treed942048e23e8cd61b2b5431c6b6c16553159acd1 /src/net/eathena
parent68581ace3255ea4d8b0f0e5b33a33633a27b8e42 (diff)
downloadplus-3ff29eb31e08751f6e4993c62c0be8ac5b159b92.tar.gz
plus-3ff29eb31e08751f6e4993c62c0be8ac5b159b92.tar.bz2
plus-3ff29eb31e08751f6e4993c62c0be8ac5b159b92.tar.xz
plus-3ff29eb31e08751f6e4993c62c0be8ac5b159b92.zip
Add server feature haveAttackDirections.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/serverfeatures.cpp5
-rw-r--r--src/net/eathena/serverfeatures.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp
index 0e684b00a..4179adef3 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -190,4 +190,9 @@ bool ServerFeatures::haveCreateCharGender() const
return serverVersion >= 4;
}
+bool ServerFeatures::haveAttackDirections() const
+{
+ return true;
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index d91373322..bf7fb422e 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -95,6 +95,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveNpcWhispers() const override final;
bool haveCreateCharGender() const override final;
+
+ bool haveAttackDirections() const override final;
};
} // namespace EAthena