summaryrefslogtreecommitdiff
path: root/src/net/tmwa/serverfeatures.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-16 16:44:21 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-16 16:44:21 +0300
commit4d54d36ed8e4bcc34e5b9f90e2126fadb490c34f (patch)
tree3bea875b8d320d8ba633eefa2482dfc6f3fa631b /src/net/tmwa/serverfeatures.cpp
parent8185a857a4d9152b3dda7f6b5649a27427010605 (diff)
downloadmv-4d54d36ed8e4bcc34e5b9f90e2126fadb490c34f.tar.gz
mv-4d54d36ed8e4bcc34e5b9f90e2126fadb490c34f.tar.bz2
mv-4d54d36ed8e4bcc34e5b9f90e2126fadb490c34f.tar.xz
mv-4d54d36ed8e4bcc34e5b9f90e2126fadb490c34f.zip
Add server feature haveBrokenPlayerAttackDistance.
Diffstat (limited to 'src/net/tmwa/serverfeatures.cpp')
-rw-r--r--src/net/tmwa/serverfeatures.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index 28f0a3cee..86f679ae9 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -64,4 +64,9 @@ bool ServerFeatures::havePlayerStatusUpdate() const
return serverVersion >= 4;
}
+bool ServerFeatures::haveBrokenPlayerAttackDistance() const
+{
+ return serverVersion < 1;
+}
+
} // namespace TmwAthena