diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-14 02:27:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-14 02:27:59 +0300 |
commit | 4e3b36697e96e30008aea877a625d1be1e920073 (patch) | |
tree | 954582371c5d7e094fb78f5e3a9f6b25e39ae7c6 /src/net/eathena | |
parent | 97c2d1b3bb95f38f329dd36f3dd82e211da90d33 (diff) | |
download | ManaVerse-4e3b36697e96e30008aea877a625d1be1e920073.tar.gz ManaVerse-4e3b36697e96e30008aea877a625d1be1e920073.tar.bz2 ManaVerse-4e3b36697e96e30008aea877a625d1be1e920073.tar.xz ManaVerse-4e3b36697e96e30008aea877a625d1be1e920073.zip |
Add server feature haveExtendedDropsPosition.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/serverfeatures.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp index d24e03aab..1423f1b9f 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -260,4 +260,9 @@ bool ServerFeatures::haveSlide() const return serverVersion >= 10; } +bool ServerFeatures::haveExtendedDropsPosition() const +{ + return serverVersion >= 12; +} + } // namespace EAthena diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index 3b7875f37..73ca3f212 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/serverfeatures.h @@ -123,6 +123,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveAdvancedBuySell() const override final A_CONST; bool haveSlide() const override final; + + bool haveExtendedDropsPosition() const override final; }; } // namespace EAthena |