diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-19 15:44:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-19 15:44:14 +0300 |
commit | 3420babbbc6d10f1fc5be7ff7b895e618acd5f0e (patch) | |
tree | 92dc07613db98c4bd56f28aa8faffb99e0bde88f /src/net/eathena | |
parent | cf6a135902b647b565e782e9cb9626b7ac8b361b (diff) | |
download | plus-3420babbbc6d10f1fc5be7ff7b895e618acd5f0e.tar.gz plus-3420babbbc6d10f1fc5be7ff7b895e618acd5f0e.tar.bz2 plus-3420babbbc6d10f1fc5be7ff7b895e618acd5f0e.tar.xz plus-3420babbbc6d10f1fc5be7ff7b895e618acd5f0e.zip |
Allow support for different horses riding.
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 b9d349446..b3f4b7814 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -240,4 +240,9 @@ bool ServerFeatures::haveAdvancedSprites() const return serverVersion >= 7; } +bool ServerFeatures::haveExtendedRiding() const +{ + return serverVersion >= 9; +} + } // namespace EAthena diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h index 04a8fb96c..b1fc7c74e 100644 --- a/src/net/eathena/serverfeatures.h +++ b/src/net/eathena/serverfeatures.h @@ -115,6 +115,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveNewGuild() const override final; bool haveAdvancedSprites() const override final; + + bool haveExtendedRiding() const override final; }; } // namespace EAthena |