From 81218a9140a81d165a6f03c31f580a2af63ec041 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 16 Nov 2015 17:50:12 +0300 Subject: Add server feature haveSlide. --- src/net/eathena/serverfeatures.cpp | 5 +++++ src/net/eathena/serverfeatures.h | 2 ++ 2 files changed, 7 insertions(+) (limited to 'src/net/eathena') 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 -- cgit v1.2.3-70-g09d2