summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-16 17:50:12 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-16 17:50:12 +0300
commit81218a9140a81d165a6f03c31f580a2af63ec041 (patch)
tree5e45a2d764f26dc5fd44c12c47a42e31784f7e7a /src/net/eathena
parent035b4a30cc7a86511f515aea0039496aac6f16c6 (diff)
downloadmanaplus-81218a9140a81d165a6f03c31f580a2af63ec041.tar.gz
manaplus-81218a9140a81d165a6f03c31f580a2af63ec041.tar.bz2
manaplus-81218a9140a81d165a6f03c31f580a2af63ec041.tar.xz
manaplus-81218a9140a81d165a6f03c31f580a2af63ec041.zip
Add server feature haveSlide.
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 30cd90efc..53aead2e7 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -255,4 +255,9 @@ bool ServerFeatures::haveAdvancedBuySell() const
return true;
}
+bool ServerFeatures::haveSlide() const
+{
+ return serverVersion >= 10;
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index 2b6aa8245..980d6fa9a 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -121,6 +121,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveExtendedRiding() const override final;
bool haveAdvancedBuySell() const override final;
+
+ bool haveSlide() const override final;
};
} // namespace EAthena