summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-22 12:50:08 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-22 12:50:08 +0300
commit7e44f48d83922efe4b2e5ff50813fef65c1877b1 (patch)
tree44b784a827983dd9fcc22571fbed854486fc9e8e /src/net/eathena
parent0c598c5aee973bb9ff3fd988a0263436588f532f (diff)
downloadmanaplus-7e44f48d83922efe4b2e5ff50813fef65c1877b1.tar.gz
manaplus-7e44f48d83922efe4b2e5ff50813fef65c1877b1.tar.bz2
manaplus-7e44f48d83922efe4b2e5ff50813fef65c1877b1.tar.xz
manaplus-7e44f48d83922efe4b2e5ff50813fef65c1877b1.zip
Add server feature haveMovePet.
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 beb042279..be55b9147 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -210,4 +210,9 @@ bool ServerFeatures::haveTalkPet() const
return serverVersion >= 5;
}
+bool ServerFeatures::haveMovePet() const
+{
+ return serverVersion >= 5;
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index e738bb491..d9ee23592 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -103,6 +103,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveCart() const override final;
bool haveTalkPet() const override final;
+
+ bool haveMovePet() const override final;
};
} // namespace EAthena