summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-19 15:44:14 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-19 15:44:14 +0300
commit3420babbbc6d10f1fc5be7ff7b895e618acd5f0e (patch)
tree92dc07613db98c4bd56f28aa8faffb99e0bde88f /src/net/eathena
parentcf6a135902b647b565e782e9cb9626b7ac8b361b (diff)
downloadmv-3420babbbc6d10f1fc5be7ff7b895e618acd5f0e.tar.gz
mv-3420babbbc6d10f1fc5be7ff7b895e618acd5f0e.tar.bz2
mv-3420babbbc6d10f1fc5be7ff7b895e618acd5f0e.tar.xz
mv-3420babbbc6d10f1fc5be7ff7b895e618acd5f0e.zip
Allow support for different horses riding.
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 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