summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/serverfeatures.cpp5
-rw-r--r--src/net/eathena/serverfeatures.h2
-rw-r--r--src/net/serverfeatures.h2
-rw-r--r--src/net/tmwa/serverfeatures.cpp5
-rw-r--r--src/net/tmwa/serverfeatures.h2
5 files changed, 16 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
diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h
index 7eb3d07b2..53871105f 100644
--- a/src/net/serverfeatures.h
+++ b/src/net/serverfeatures.h
@@ -100,6 +100,8 @@ class ServerFeatures notfinal
virtual bool haveCart() const = 0;
virtual bool haveTalkPet() const = 0;
+
+ virtual bool haveMovePet() const = 0;
};
} // namespace Net
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index 58a62f1f6..9e68116da 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -209,4 +209,9 @@ bool ServerFeatures::haveTalkPet() const
return true;
}
+bool ServerFeatures::haveMovePet() const
+{
+ return true;
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index e3dba132e..48826f303 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/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 TmwAthena